Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Quant-X Linux Support <nino@quant-x.at>
To: axp-list@redhat.com
Subject: Re: gdb & var_arg routines dont work well together
Date: Mon, 09 Mar 1998 01:21:31 +0100	[thread overview]
Message-ID: <3503360B.A8DC168D@quant-x.at> (raw)
In-Reply-To: 35033147.E7BCF519@voicenet.com

Uncle George wrote:
> I have been unable to reliably to get GDB to work with C routines that
> have an ... in the parameter list. [...]

As a temporary work-around (until this problem is fixed in gdb, or wherever 
it comes from), you could try to print the value of i using:

(gdb) p *(&i-8)

This will print the contents of the memory address 8 bytes below where 
gdb thinks i should be, which, in this situation, is the correct address
for i.

> can some ont tell me where i can get current info on alpha/gcc
> produced/  asm directives

These are compatible with the syntax used by the assembler for Digital
Unix, which means that you'll find what you're looking for in the
Digital Unix manuals. Some of them are available on the WWW. Have a 
look at

http://axposf1.tuwien.ac.at/campus/doc/DU40B/DOCUMENTATION/HTML/BOOKSHELF.HTM

And, more specifically for your question, at:

http://axposf1.tuwien.ac.at/campus/doc/DU40B/DOCUMENTATION/HTML/AA-PS31D-TET1_html/asm6.html#directive_chapter

(I'm pretty ignorant about the copyright for those on-line manuals, I
just found them on the WWW; use at your own risk)

-n
-- 
==================================\--------------------------------------
 Quant-X Service & Consulting GmbH \ Linux/AXP support: nino@quant-x.com
 http://www.quant-x.com             \     Sales etc.: office@quant-x.com 
-------------------------------------\===================================


  reply	other threads:[~1998-03-09  0:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-09  0:01 gdb & var_arg routines dont work well together Uncle George
1998-03-09  0:21 ` Quant-X Linux Support [this message]
1998-03-09 12:50   ` Uncle George
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox