This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Cross debugger and load address (want download to VMA, not LMA)


> I usually just have two linker command scripts: one for flash,
> one for RAM.  They differ only in their specifications for
> LMA.

That's what I do as well. When I do a "make" it builds two
executables: one for burning into flash, the other for loading
into RAM via gdb.  

I've got a GDB stub (that Bill wrote originally -- thanks,
Bill) that I burn into ROM when I want to debug.  Otherwise,
I burn the "flash" version of the app into ROM.

-- 
Grant Edwards
grante@visi.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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