Backtrace of naked functions

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

On Fri, 23 Sep 2005, Ruppert wrote:

> Because we use the stabs debugging format, we could simply link in
> a module which defines a 'main stab'. gdb honors this stab type, and
> treats the name given with this stab like 'main'. In particular,
> backtraces stop at this function.

This sounds very promising! Do you set the stab type somewhere on 
assembly level or is there a nifty GCC __attribute__(()) thingy?


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