From owner-freebsd-questions Fri Mar 24 03:47:28 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA04924 for questions-outgoing; Fri, 24 Mar 1995 03:47:28 -0800 Received: from inet-gw-1.pa.dec.com (inet-gw-1.pa.dec.com [16.1.0.22]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id DAA04769 for ; Fri, 24 Mar 1995 03:46:12 -0800 Received: from rks32.pcs.dec.com by inet-gw-1.pa.dec.com (5.65/24Feb95) id AA08989; Fri, 24 Mar 95 03:44:23 -0800 Received: by rks32.pcs.dec.com (Smail3.1.27.1 #16) id m0rs7kl-0005P7C; Fri, 24 Mar 95 12:42 MEZ Message-Id: To: rashid%haven.ios.com@inet-gw-1.pa.dec.com Cc: questions%freebsd.org@inet-gw-1.pa.dec.com In-Reply-To: Message from "Rashid Karimov." of Thu, 23 Mar 95 11:25:19 EST. Reply-To: gj@FreeBSD.org Subject: Re: GDB 4.14 on FreeBSD SNAP 0210 Date: Fri, 24 Mar 95 11:42:07 GMT From: "gj%pcs.dec.com@inet-gw-1.pa.dec.com" Sender: questions-owner@FreeBSD.org Precedence: bulk > Yesterday I tried to debug some pretty innocent program :) > under emacs/gdb on FreeBSD SNAP 0210. > But when I started the program beign debugged ( run) whe PC > just _rebooted. the bug's in the kernel, not gdb. This has been fixed since SNAP-021095. > I ftp'ed today gdb 4.14 , hoping that probably the problem was with > gdb ( pretty stupid , heh ) , and it compiled rigth out of Net. > But ! > When I start it with _any binary - the beast complaints about > "not executable format" stock gdb doesn't understand our magic numbers. You could try taking the {n,t,x}m.h files from /usr/src/gnu/usr.bin/gdb/gdb and using them with gdb-4.14. There are also files in bfd that need to be changed, can't remember exactly which ones. Looks like it's time to port gdb-4.14. Gary J.