arm-elf-gdb message <address> in ??()

Nick Clifton nickc@cambridge.redhat.com
Fri Dec 21 04:25:00 GMT 2001


Hi Ananda,

> but when I single step it to the next instruction I get:
> 0x20001004 in ?? ()
> I'll really be grateful for any help as to where I am going wrong.

I am not sure what is going wrong, but you might find using the arm
simulator, either naked or inside gdb, an easier way to debug your
startup code.  There is a useful debug statement commented out in the
sim code, (look for #if 0 in the file sim/arm/armemu.c).  If you
enable this it will print out the PC and binary value of each
instruction as it is executed.

Cheers
        Nick



More information about the Binutils mailing list