Date: Sat, 06 Jul 1996 21:20:46 -0700 From: Mike Haertel <haertel@incognito.intel.com> To: Bill Paul <wpaul@skynet.ctr.columbia.edu> Cc: hackers@freebsd.org Subject: Re: gdb and dynamic symbol information Message-ID: <199607070420.VAA10923@incognito.intel.com> In-Reply-To: Your message of "Sat, 06 Jul 1996 13:22:32 EDT." <199607061722.NAA10798@skynet.ctr.columbia.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
>What I would like to know is what sort of work would be required to >make our gdb do this for dynamically linked FreeBSD a.out executables. >I tried looking through the gdb sources but I couldn't actually find >the part that reads the SunOS dynamic symbol info. (While I dearly >love gdb, I must confess that its sources make my brain itch.) Is >our shared library implementation similar enough to SunOS's that we >could reuse some of the same code? If so, does anyone know how to >turn the feature on when building for an i386-freebsd target? Am >I dreaming? The part of gdb that reads the dynamic symbols is in the "BFD" library. Take a look at bfd/sunos.c in a standard gdb distribution. The gdb in FreeBSD's /usr/src probably doesn't have this file, although I haven't checked...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607070420.VAA10923>