From owner-cvs-all Mon Jul 1 0:29:21 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08AB937B400; Mon, 1 Jul 2002 00:29:17 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FB2E43E09; Mon, 1 Jul 2002 00:29:15 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id RAA29458; Mon, 1 Jul 2002 17:29:05 +1000 Date: Mon, 1 Jul 2002 17:34:50 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Peter Wemm Cc: "Greg 'groggy' Lehey" , "David E. O'Brien" , , Subject: Re: No kgdb? (was: cvs commit: src/gnu/usr.bin/binutils/gdb kvm-fbsd.c) In-Reply-To: <20020701003235.84908390F@overcee.wemm.org> Message-ID: <20020701165404.N7024-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 30 Jun 2002, Peter Wemm wrote: > "Greg 'groggy' Lehey" wrote: > > On Saturday, 29 June 2002 at 21:47:43 -0700, David E. O'Brien wrote: > > > obrien 2002/06/29 21:47:43 PDT > > > > > > Modified files: > > > gnu/usr.bin/binutils/gdb kvm-fbsd.c > > > Log: > > > Dike out bits specific to i386. This pretty much means no kgdb for > > > non-i386 platforms. > > > > Can you give more details here? Was there support for kgdb on other > > platforms before you did this? What about previous versions of gdb? > > What's needed to get the support? > > Yes and no. With the old compiler and old gdb, we had alpha and i386 support. > gcc-3 broke gdb completely, so we had no support at all (userland or kernel) > after that. Now, we have i386 kgdb support and there are works-in-progress > for other platforms. > > This has been explained at great detail on the lists. There really wasn't > any need to drag it up yet again here. To drag it out a bit more ... I tried using the old gdb on a simple program to see how much the new gdb has broken "info float". The old gdb worked fine and the new gdb had most of the bugs that I expected (*) (**). The old gdb doesn't work on a not so-simple program (/bin/cat) compiled with -g, but works on at least /bin/cat compiled with -gdwarf (-gdwarf2 gives the same breakage as -g, and -gstabs gives SIGBUS instead of stopping at a breakpoint at main()). (*) various cosmetic bugs, and lost printing of the exception status word. (**) lost printing of the prompt after suspend/resume. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message