From owner-freebsd-current Sat May 23 02:23:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA26486 for freebsd-current-outgoing; Sat, 23 May 1998 02:23:58 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA26473 for ; Sat, 23 May 1998 02:23:53 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.8.8/8.8.5) with SMTP id KAA13534; Sat, 23 May 1998 10:25:09 +0100 (BST) Date: Sat, 23 May 1998 10:25:09 +0100 (BST) From: Doug Rabson To: Amancio Hasty cc: current@FreeBSD.ORG Subject: Re: gdb elf-binary? In-Reply-To: <199805230801.BAA03029@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 23 May 1998, Amancio Hasty wrote: > I am not so sure that we support gdb-elf ... > > Tnks, > Amancio > > {root} echo $BINFORMAT > elf Um. I did have this working. Is the version of link.h which you have installed the latest (1.18). This version has the necessary definitions for elf shared library debugging (selected by either -D__ELF__ or -DFREEBSD_ELF). Make sure you have also installed the latest rtld-elf. I haven't tried to build this for a few weeks so it might need some tweaking. The principle is simple - I made the debugger interface for our rtld-elf the same as a normal SVR4 system so the changes to GDB were minimal. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message