This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Tell me about stack frames....
- From: Jim Blandy <jimb at red-bean dot com>
- To: Kim Lux <lux at diesel-research dot com>
- Cc: gdb at sourceware dot org
- Date: Sun, 11 Dec 2005 13:50:51 -0800
- Subject: Re: Tell me about stack frames....
- References: <1134332748.14961.17.camel@localhost.localdomain>
It looks like you're using a customized version of GDB 6.2, or having
GDB run a script. For example, who is printing 'entering
dbugS12_wait'?
GDB 6.2 is old; you might try a current version of GDB.
The output from 'bt' doesn't seem to ever find a valid stack frame.
Are you sure the program is even running, or that GDB is able to
properly read its registers? When you print $pc, does its value look
like a reasonable code address? Does the value of $sp seem to be a
reasonable stack address?