Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 95 11:42:07 GMT
From:      "gj%pcs.dec.com@inet-gw-1.pa.dec.com" <garyj@rks32.pcs.dec.com>
To:        rashid%haven.ios.com@inet-gw-1.pa.dec.com
Cc:        questions%freebsd.org@inet-gw-1.pa.dec.com
Subject:   Re: GDB 4.14 on FreeBSD SNAP 0210 
Message-ID:  <m0rs7kl-0005P7C@rks32.pcs.dec.com>
In-Reply-To: Message from "Rashid Karimov." <rashid@haven.ios.com>  of Thu, 23 Mar 95 11:25:19 EST.

next in thread | previous in thread | raw e-mail | index | archive | help
>	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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0rs7kl-0005P7C>