This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: malloc() never returns
- From: Daniel Jacobowitz <drow at false dot org>
- To: Torsten Mohr <tmohr at s dot netic dot de>
- Cc: newlib at sourceware dot org, gdb at sourceware dot org, Jeff Johnston <jjohnstn at redhat dot com>
- Date: Thu, 8 Jun 2006 19:10:18 -0400
- Subject: Re: malloc() never returns
- References: <200606081246.20231.tmohr@s.netic.de> <44886BBF.1030404@redhat.com> <200606082341.12598.tmohr@s.netic.de>
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