From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15290 invoked by alias); 8 Jun 2006 23:10:23 -0000 Received: (qmail 15273 invoked by uid 22791); 8 Jun 2006 23:10:22 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 08 Jun 2006 23:10:20 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FoTdq-0001M4-BW; Thu, 08 Jun 2006 19:10:18 -0400 Date: Fri, 09 Jun 2006 13:51:00 -0000 From: Daniel Jacobowitz To: Torsten Mohr Cc: newlib@sourceware.org, gdb@sourceware.org, Jeff Johnston Subject: Re: malloc() never returns Message-ID: <20060608231018.GA5183@nevyn.them.org> Mail-Followup-To: Torsten Mohr , newlib@sourceware.org, gdb@sourceware.org, Jeff Johnston References: <200606081246.20231.tmohr@s.netic.de> <44886BBF.1030404@redhat.com> <200606082341.12598.tmohr@s.netic.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606082341.12598.tmohr@s.netic.de> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00061.txt.bz2 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