From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32443 invoked from network); 9 Mar 1998 12:49:31 -0000 Received: from mail11.voicenet.com (HELO voicenet.com) (207.103.0.37) by mail2.redhat.com with SMTP; 9 Mar 1998 12:49:31 -0000 Received: (qmail 2243 invoked from network); 9 Mar 1998 12:49:19 -0000 Received: from rotary915-pri.voicenet.com (HELO voicenet.com) (209.71.52.15) by mail11.voicenet.com with SMTP; 9 Mar 1998 12:49:19 -0000 Message-ID: <3503E5B0.BB2B7B34@voicenet.com> Date: Mon, 09 Mar 1998 07:50:57 -0500 From: Uncle George Organization: None Avail X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: gdb & var_arg routines dont work well together References: <3503360B.A8DC168D@quant-x.at> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit have u reported this to the gdb folks?i'd like to myself. i thought it was/is a setup problem in the assembler created by gcc et al. I dont particularily understand the linkages, or why there are more things saved, considering that the called routine has no idea how many parms are on the stack! thanks for the asm/html pointers. Quant-X Linux Support wrote: > 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 > -------------------------------------\=================================== > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com