From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25937 invoked by alias); 11 Feb 2010 03:12:14 -0000 Received: (qmail 25927 invoked by uid 22791); 11 Feb 2010 03:12:13 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-yx0-f192.google.com (HELO mail-yx0-f192.google.com) (209.85.210.192) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 11 Feb 2010 03:12:09 +0000 Received: by yxe30 with SMTP id 30so739872yxe.25 for ; Wed, 10 Feb 2010 19:12:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.101.133.13 with SMTP id k13mr1653287ann.14.1265857928042; Wed, 10 Feb 2010 19:12:08 -0800 (PST) In-Reply-To: <8ba6bed41002101145l3a29389cod7e3890b7e9a3312@mail.gmail.com> References: <8ba6bed41002101145l3a29389cod7e3890b7e9a3312@mail.gmail.com> Date: Thu, 11 Feb 2010 03:12:00 -0000 Message-ID: Subject: Re: cross debug glibc loader problem From: "Amker.Cheng" To: Matt Rice , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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/msg00064.txt.bz2 On Thu, Feb 11, 2010 at 3:45 AM, Matt Rice wrote: > On Wed, Feb 10, 2010 at 4:09 AM, Amker.Cheng wrote: > > I would try it out with gdb from cvs, and if that doesn't work > investigate Jan Kratochvil's recent PIE: series of threads on the > gdb-patches list (at least some of which have been integrated), as I > am lead to believe from the first thread in the series that those > patches covered debugging ld.so. > Thanks, but I trid gdb-7.0.1 in two ways, both facing the same problem: 1 : cross debug using gdb-7.0.1; 2 : native debug using gdb-7.0.1, which was built for and running under mipsel-linux; gdb always complains about "Cannot access memory at address 0x32a14" Maybe I've missed something important when following instruction at http://sources.redhat.com/glibc/wiki/Debugging/Loader_Debugging Thanks again. -- Best Regards.