This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: GDB & FreeBSD
- To: "David O'Brien" <obrien at FreeBSD dot org>
- Subject: Re: GDB & FreeBSD
- From: Daniel Berlin <dan at cgsoftware dot com>
- Date: Tue, 23 May 2000 09:33:08 -0700 (PDT)
- cc: Mark Kettenis <kettenis at wins dot uva dot nl>, ac131313 at cygnus dot com, gdb at sourceware dot cygnus dot com
On Tue, 23 May 2000, David O'Brien wrote:
> On Tue, May 23, 2000 at 01:42:45PM +0200, Mark Kettenis wrote:
> > I be able to cook something up that should work on all i386 BSD's with
>
> The thust shouldn't be viewed as working on all i386 BSD's, but all
> 4.4BSD derived systems. FreeBSD/Alpha is very import to me also.
I'd be willing to make sure it works on freeBSD/Alpha if someone provided
access to a box.
Though i have a penchant for crashing them when porting GDB (it got to the
point where i have a cheap laptop i use specifically as a glorified
movable serial debugger).
>
> > I'd check it in along with a TODO entry mentioning the need to access
> > how hard it is to ``fix'' 1.x.
>
> I can offer a 1.x install CDROM, but I don't know of any one still
> running a FreeBSD 1.x box.
>
Yeah, I really couldn't see a 1.x box lying around either, especially
since most boxen were at the very least, upgraded, when people were
worried about y2k.
>
> > OK, I'll do that for the code that I have right now (which should work
> > on FreeBSD 2.2 and up) and then see if I can revive the support for
> > older FreeBSD's after that.
>
> My concern is for FreeBSD 3.0+ (ie. ELF). If support for FreeBSD 2.x had
> to be dropped, it would not bother me. I'd like to have the current
> systems supported; and those of the future (again ELF).
This reminds me.
I tried to email you a few months ago, but obrien@freebsd.org didn't work
(5 day timeout bounce, on freebsd's side).
Unless you've changed it when i wasn't looking, you are producing broken
DWARF2 info with GCC.
You have a if (debug_type==DWARF_DEBUG || DBX_DEBUG) type deal in the
config file, and change the register map as a result. However, you also
need to do the same for DWARF2_DEBUG, or else you have the wrong registers
in the info, making it worthless.
It'd be real nice if you fixed this, i hate applying the same 2 line patch
i have over and over, every time i update :).
> If I can be of any help providing access to FreeBSD 4-STABLE (which will
> become 4.1 RELEASE) or 5-CURRENT systems, please let me know.
>
I track 5-CURRENT, so I can make sure the stuff works on that.
> --
> -- David (obrien@FreeBSD.org)
> Disclaimer: Not speaking for FreeBSD, just expressing my own opinion.
>