Backtrace of naked functions

Marius Groeger mgroeger@sysgo.com
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?

Thanks!
Marius

-- 
Marius Groeger <mgroeger@sysgo.com>
SYSGO AG                      Embedded and Real-Time Software
Voice: +49 6136 9948 0                  FAX: +49 6136 9948 10
www.sysgo.com | www.elinos.com | www.osek.de | www.pikeos.com


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list