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]

Re: help: gdb with Angel


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


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