From owner-freebsd-hackers Thu Nov 9 10:14:32 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA28324 for hackers-outgoing; Thu, 9 Nov 1995 10:14:32 -0800 Received: from seattle.polstra.com (seattle.polstra.com [198.211.214.4]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id KAA28316 for ; Thu, 9 Nov 1995 10:14:21 -0800 Received: by seattle.polstra.com (Smail3.1.28.1 #5) id m0tDbUG-000072C; Thu, 9 Nov 95 10:14 PST Message-Id: Date: Thu, 9 Nov 95 10:14 PST From: jdp@polstra.com (John Polstra) To: gjennejohn@frt.dec.com Subject: Re: gdb Newsgroups: polstra.freebsd.hackers In-Reply-To: <9511091347.AA22411@cssmuc.frt.dec.com> Organization: Polstra & Co., Seattle, WA Cc: freebsd-hackers@freebsd.org Sender: owner-hackers@freebsd.org Precedence: bulk > > I was just noticing the announcement about the latest version of gdb > > being avilable, and it made me wonder howcome, when gdb is customized for > > so many differenct environments, how come they don't include stuff so > > that it would work out of the box on FreeBSD? > > probably because I never sent in any patches. One thing I noticed was > that there's now a freebsd target in config.guess, but it doesn't work > because there isn't any freebsd target in config.sub. This is trivial to fix. > > A bigger problem is that gdb/solib.c doesn't compile for -current. I haven't > had time to do more than note this fact. What happens with 2.1 or earlier > versions I can't say. I only run -current. > > The code in bfd seems to be correctly done, at least it compiles with > FBSD specific stuff. The latest gdb release from the FSF was 4.15.1. Just before that came out, I had built 4.15 and tried it on my FreeBSD-2.0.5 system. That seemed to build and function OK. I did send them one small patch, just to get rid of a warning about PAGE_SIZE being redefined (in bfd/i386bsd.c). I don't know whether my patch made it into 4.15.1 or not. > > Couldn't someone who knows the reasons why, communicate them to Cygnus, > > and get us on their list of supported systems? > > I'll put this on my TODO list. I'm planning to port the newest gdb RSN. That would be great. I started to look at it, but I really don't have the time to devote to it right now. If you work on it, you should probably get the latest gdb snapshot from the Cygnus machine. They've rejiggered the configuration mechanism quite a bit, and lost FreeBSD support again. It looks pretty easy to put it back in, but again, I don't have time right now to figure out the details. -- John Polstra jdp@polstra.com Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth