This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: the "load" command and the .bss section
On Wed, Apr 30, 2008 at 07:03:00PM -0700, Michael Snyder wrote:
> That's why there are different implementations of "load".
> A bare-metal target would presumably wind up using the
> appropriate "load" version.
Well that's probably why historically there _were_ different
implementations of load. But I doubt it is still justified.
Only the three m32r targets, the remote-mips target (for specific
monitors), remote-sim, and target remote have implementations of load.
It looks to me like target remote's would work for all of them except
the sim. m32r is just using a wrapper around generic_load already.
monitor and mips are using srec but could do that anyway for large
writes. Presumably, at least. But I have no way to test any of them
so I leave them alone.
--
Daniel Jacobowitz
CodeSourcery