From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21410 invoked by alias); 11 Feb 2010 22:02:48 -0000 Received: (qmail 21055 invoked by uid 22791); 11 Feb 2010 22:02:46 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 11 Feb 2010 22:02:43 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o1BM2fDl009255 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 11 Feb 2010 17:02:41 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1BM2dpr003905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 11 Feb 2010 17:02:41 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id o1BM2cZ4003585; Thu, 11 Feb 2010 23:02:38 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id o1BM2cqj003584; Thu, 11 Feb 2010 23:02:38 +0100 Date: Thu, 11 Feb 2010 22:02:00 -0000 From: Jan Kratochvil To: Matt Rice Cc: "Amker.Cheng" , gdb@sourceware.org Subject: Re: cross debug glibc loader problem Message-ID: <20100211220238.GA3257@host0.dyn.jankratochvil.net> References: <8ba6bed41002101145l3a29389cod7e3890b7e9a3312@mail.gmail.com> <8ba6bed41002111259g745df3eq9b87986a5efcb0cb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ba6bed41002111259g745df3eq9b87986a5efcb0cb@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-02/txt/msg00076.txt.bz2 On Thu, 11 Feb 2010 21:59:26 +0100, Matt Rice wrote: > > Maybe I've missed something important when following instruction at > > http://sources.redhat.com/glibc/wiki/Debugging/Loader_Debugging These instructions were written before the PIE patch so they should work even with older version GDB. Still I do not have experience with this part. The errors like "Cannot access memory at address 0x32a14" for debugging glibc-related stuff got fixed by the PIE patch for me (x86*). > and i'm not really aware of the current status. The basic functionality is in FSF GDB HEAD now, maybe you can add just: [patch] Fix PIE for 64bit gdb -> 32bit inferior http://sourceware.org/ml/gdb-patches/2010-02/msg00289.html (unaware of your MIPS setup) Thanks, Jan