From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18875 invoked by alias); 17 Dec 2002 21:36:38 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18865 invoked from network); 17 Dec 2002 21:36:36 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by 209.249.29.67 with SMTP; 17 Dec 2002 21:36:36 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3/8.9.3) with ESMTP id QAA11972; Tue, 17 Dec 2002 16:30:14 -0500 Received: from catdog ([10.4.2.2]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id QAA31649; Tue, 17 Dec 2002 16:36:24 -0500 Message-ID: <036901c2a614$4cb3be40$0202040a@catdog> From: "Kris Warkentin" To: "Paul Koning" Cc: References: <032c01c2a60a$2368a6e0$0202040a@catdog> <15871.35257.357988.694515@pkoning.dev.equallogic.com> Subject: Re: relocation of shared libs not based at 0 Date: Tue, 17 Dec 2002 13:36:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-SW-Source: 2002-12/txt/msg00260.txt.bz2 > I ran into the same problem when trying to get gdb to deal correctly > with shared libs on NetBSD/MIPS. The following patch is my attempt at > dealing with it. I haven't tried to turn this into a patch submission > because I don't trust my gdb hacking skills yet. Also, I was > concentrating on "making it work" (for NetBSD/MIPS, the platform we > needed to get right) rather than "doing the right thing" for gdb > generally. BTW, this is a patch against a snapshot of 5.3 taken a few > months ago. Thanks Paul. I like that fix a lot better and it seems to have the same effect as mine. Can anyone else on the list make any comment about why gdb assumes that relocations are based at zero? cheers, Kris