malloc() never returns

Daniel Jacobowitz drow@false.org
Fri Jun 9 13:51:00 GMT 2006


On Thu, Jun 08, 2006 at 11:41:12PM +0200, Torsten Mohr wrote:
> So is it possible that GDB loads the sections in the ELF file to the
> VMA and not to the LMA?

That is correct.

> Is there a standard solution to this standard problem?

No, I don't think there is.  However, people have started to mention
this as a problem more frequently in the last few months.  Maybe it's
time for "load" to grow an option to use LMA.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list