From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20115 invoked by alias); 13 Jul 2006 17:38:12 -0000 Received: (qmail 20072 invoked by uid 22791); 13 Jul 2006 17:38:11 -0000 X-Spam-Check-By: sourceware.org Received: from service.anykey.de (HELO service.anykey.de) (213.168.80.18) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Jul 2006 17:38:08 +0000 Received: from eu.main.anykey (eu.main.anykey [192.168.200.17]) by service.anykey.de (anykey GmbH) with ESMTP id 957D6139B7; Thu, 13 Jul 2006 19:38:06 +0200 (CEST) Received: by eu.main.anykey (Postfix, from userid 96) id 6A8D6D4363; Thu, 13 Jul 2006 19:38:06 +0200 (CEST) Received: from eu.main.anykey (localhost [127.0.0.1]) by eu.main.anykey (Postfix) with ESMTP id 4F6F2D4363; Thu, 13 Jul 2006 19:38:06 +0200 (CEST) Message-ID: <4570013.1152812286324.OPEN-XCHANGE.WebMail.wwwrun@eu.main.anykey> Date: Thu, 13 Jul 2006 17:38:00 -0000 From: Thomas Ackermann To: Daniel Jacobowitz Subject: Re: Help with debugging LD_PRELOADed shared C libraries Cc: gdb@sourceware.org In-Reply-To: <20060713170530.GB28970@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: OPEN-XCHANGE 0.8.0 - WebMail References: <6780801.1152809218081.OPEN-XCHANGE.WebMail.wwwrun@eu.main.anykey> <20060713170530.GB28970@nevyn.them.org> 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-07/txt/msg00064.txt.bz2 Am Do 13.07.2006 19:05 schrieb Daniel Jacobowitz : > If you're using a core file, the environment doesn't matter. The > libraries should be loaded automatically. > > Does info shared show something reasonable-looking? It does not: Cannot access memory at address 0x4001738c #0 0x400cc9b8 in ?? () (gdb) info shared Cannot access memory at address 0x4001738c (gdb) Are you sure that this is true for a shared library that is loaded vias LD_PRELOAD? I mean, it is supposed to exchange functions from the binary - to which i have no source. > Are you sure that core dumps work on this system? How to easy test this? I seem to remember using gdb on this system in earlier times already.