help: gdb with Angel

Fernando Nasser fnasser@redhat.com
Fri Feb 8 16:56:00 GMT 2002


Kam Lee wrote:
> 
> Hello Fernando,
> 
> > The log seems OK.  It seems that your application program was not
> > compiled/linked appropriately.
> >
> > How did you build you "Hello World!" program?
> 
> I do arm-linux-gcc -g hello.c -o hello
> please correct me if I'm wrong.
> 

I guess the default linker script assumes that your
program will be loaded at 0x8000.

Do you have RAM at that address?  What kind of board
are you loading your program into? 

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9



More information about the Gdb mailing list