From owner-freebsd-hackers Sun Jan 18 14:51:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22414 for hackers-outgoing; Sun, 18 Jan 1998 14:51:21 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA22221 for ; Sun, 18 Jan 1998 14:49:46 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id OAA20045 for ; Sun, 18 Jan 1998 14:49:35 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801182249.OAA20045@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: FreeBSD-hackers@FreeBSD.ORG Subject: gdb which supports elf? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 18 Jan 1998 14:49:35 -0800 From: Amancio Hasty Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk Howdy, I dowloaded John's elfkit and it seems to work rather nicely. Made a minor mod to rtld.c, got rid of this: assert(!obj_rtld.textrel); When loading a shared binary the assert was being triggered and from the looks of it obj_rtld.textrel was set to 1 meaning that the text region is relocatable. Next, I try to compile gdb 4.16 however it needs modifications to support elf shared objects. So does anyone have mods for gdb to support elf? If no one has mods for gdb 4.16 , I will be happy to work on it. Tnks, Amancio