This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GDB's stack trace.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]