This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

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


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


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