Date: Wed, 24 Oct 2001 08:36:55 +0100 (BST) From: Martin Hopkins <martin@teatown.freeserve.co.uk> To: mitko@rila.bg Cc: stable@FreeBSD.ORG Subject: Re: gdb and function arguments Message-ID: <15318.28567.950904.849451@whittard.home> In-Reply-To: <200110240656.f9O6u6X12318@earth.rila.bg> References: <200110240656.f9O6u6X12318@earth.rila.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Dimitar" == Dimitar Peikov <mitko@rila.bg> writes: Dimitar> Any idea why gdb doesn't show properly function arguments when debugging? It Dimitar> seems that is buggy behaviour since few weeks I guess. I use GCC 2.95.3 and Dimitar> gdb 4.18 from yesterdays STABLE snapshot. Dimitar> <<<< gdb output <<<< Dimitar> (gdb) r Dimitar> Starting program: /usr/home/mitko/compile/fsa/src/fsm/examples/3state_automata Dimitar> Breakpoint 1, main (argc=671514624, argv=0x0) at 3state_automata.c:20 Dimitar> 20 tspool = fsa_tempspool_new(3, ASCII_SIZE, FALSE); Dimitar> (gdb) s Dimitar> fsa_tempspool_new (in_statescount=671488704, in_letterscount=0, Dimitar> in_isdetermined=671426728) at src/tempspool.c:18 Dimitar> 18 fsa_log(DEBUG_CLASS_TSPOOL, "entered fsa_tempspool_new\n"); Dimitar> (gdb) The program is running. Exit anyway? (y or n) y I noticed this a while ago when using dwarf-2 debug symbols, switching to stabs made it much happier. Unfortunately I've not had a chance to look into it any further, Sorry I can't be more helpful... Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15318.28567.950904.849451>