Date: Mon, 28 Aug 2000 20:40:03 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs@FreeBSD.org Subject: Re: gnu/20912: gdb does not recognise old executables Message-ID: <200008290340.UAA72188@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/20912; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> To: marka@nominum.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: gnu/20912: gdb does not recognise old executables Date: Tue, 29 Aug 2000 14:36:53 +1100 (EST) On Tue, 29 Aug 2000 marka@nominum.com wrote: > >Description: > > gdb does not recognise old executables. > > % file /usr/local/lib/netscape/communicator-4.75.bin > /usr/local/lib/netscape/communicator-4.75.bin: FreeBSD/i386 compact demand paged dynamically linked executable > % gdb /usr/local/lib/netscape/communicator-4.75.bin > ... > "/usr/local/lib/netscape/communicator-4.75.bin": not in executable format: File format not recognized The fix for this should be to use "gdb -aout" or "OBJFORMAT=aout gdb", but this never worked right (/usr/libexec/aout/gdb was never built), and was completely broken by bitrot in the a.out support in gdb-4.18. I have a version of /usr/libexec/aout/gdb built on 26 Aug 1999 from older sources (checked out with cvs -D '1 May 1999'?). This still seems to work. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008290340.UAA72188>