This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Backtrace sentinel


On an arm-elf emedded system immediately after a load the $pc is set
to the start address, but the $lr is set to some arbitrary value --
say zero. A backtrace gives...

(gdb) bt
#0  start () at ../../../../../libgloss/arm/crt0.S:32
#1  0x00000000 in ?? ()

Is there a sentinel value I can put in the $lr so that I can give gdb
enough informatino to stop the backtrace?

Thanks,
Shaun


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