[ECOS] GDB's stack trace.

Jonathan Larmour jlarmour@redhat.co.uk
Fri Jan 21 09:53:00 GMT 2000


Patrick O'Grady wrote:
> 
> Does anyone out there know what tells GDB that it's at the top of the
> stack during a back-trace?  Whenever I 'bt' a stopped thread, I get
> legtimate stack data followed by a bunch of junk...  somehow GDB gets told
> when the stack ends--anyone know how this is done?  Thanks in advance..

We've had problems sometimes with this, mostly due to the compiler
optimizing the function prolog. Which target and tools version (gcc, gdb and
binutils) are you using?

Jifl


More information about the Ecos-discuss mailing list