From owner-freebsd-alpha Sat Jun 29 19:41:50 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 902B537B400; Sat, 29 Jun 2002 19:41:48 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF25A43E0A; Sat, 29 Jun 2002 19:41:47 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id WAA16879; Sat, 29 Jun 2002 22:41:47 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g5U2fHr19098; Sat, 29 Jun 2002 22:41:17 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15646.28621.258621.69134@grasshopper.cs.duke.edu> Date: Sat, 29 Jun 2002 22:41:17 -0400 (EDT) To: obrien@FreeBSD.ORG Cc: alpha@FreeBSD.ORG Subject: Re: gdb breaks world In-Reply-To: <20020629193514.A51177@dragon.nuxi.com> References: <15646.25960.889781.783159@grasshopper.cs.duke.edu> <20020629193514.A51177@dragon.nuxi.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org David O'Brien writes: > On Sat, Jun 29, 2002 at 09:56:56PM -0400, Andrew Gallatin wrote: > > > > I just found out that the new gdb import breaks world on alpha: > > > > main.o(.data+0x630): undefined reference to `kernel_writablecore' > > > > when linking gdb. > > BANG BANG BANG BANG BANG BANG > BANG BANG BANG BANG BANG BANG > BANG BANG BANG BANG BANG BANG > BANG BANG BANG BANG BANG BANG > BANG BANG BANG BANG BANG BANG > BANG BANG BANG BANG BANG BANG > BANG BANG BANG BANG BANG BANG > BANG BANG BANG BANG BANG BANG > > That's not the sound of JKH's toys, but my head on the desk. > I'll fire up the DS10... let me guess it was > gnu/usr.bin/binutils/gdb/fbsd-kgdb.h revision 1.2. The symbol is #if defined (i386)'ed out, along with most of the rest of kvm-fbsd.c (1.37). It looks like the i386 version from i386/kvm-fbsd.c was copied & alpha/kvm-fbsd.c was left in the dust. I was going to look at why they needed to be different, but w/o an x86 -current box, that could be hard ;) Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message