From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31276 invoked from network); 9 Mar 1998 00:20:36 -0000 Received: from unknown (HELO firewall.quant-x.at) (194.48.188.10) by mail2.redhat.com with SMTP; 9 Mar 1998 00:20:36 -0000 Received: from quant-x.at (quant-x@kali.inode.at [195.58.162.29]) by firewall.quant-x.at (8.8.5/8.8.5) with ESMTP id BAA27447 for ; Mon, 9 Mar 1998 01:12:26 +0100 Sender: quant-x@quant-x.at Message-ID: <3503360B.A8DC168D@quant-x.at> Date: Mon, 09 Mar 1998 01:21:31 +0100 From: Quant-X Linux Support Organization: Quant-X X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.33 i586) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: gdb & var_arg routines dont work well together References: <35033147.E7BCF519@voicenet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 -------------------------------------\===================================