This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: arm-elf-gdb message <address> in ??()
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: ananda dot motte at philips dot com
- Cc: binutils at sources dot redhat dot com
- Date: 21 Dec 2001 11:52:01 +0000
- Subject: Re: arm-elf-gdb message <address> in ??()
- References: <OFE6A11EE4.23906A3E-ONC1256B29.0036EADE@diamond.philips.com>
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