Backtrace of naked functions

Marius Groeger
Fri Sep 23 12:02:00 GMT 2005

Hi All,

I probably should ask this on the GDB list, but maybe some embedded 
gurus on this list can help out as well. I frequently ran into the 
situation that GDB backtraces which did not contain a "main()" ran a 
astray. I tried very hard to understand GDB's logic regarding 
backtraces, the backtrace-past-main option, and all that, but failed 
so far. In brief, I found no reliable way to terminate a backtrace 
(PPC and i386).

The issue seems to be covered (for ARM) also by the GDB Bug #1767:

Any clues, hints, tipps, pointers greatly appreciated!


Marius Groeger <>
SYSGO AG                      Embedded and Real-Time Software
Voice: +49 6136 9948 0                  FAX: +49 6136 9948 10 | | |

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list