From owner-freebsd-current Thu Feb 7 17:42:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id CA6D737B41C for ; Thu, 7 Feb 2002 17:42:36 -0800 (PST) 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 UAA00721; Thu, 7 Feb 2002 20:42:35 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g181g5E32355; Thu, 7 Feb 2002 20:42:05 -0500 (EST) (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: <15459.11501.360105.244279@grasshopper.cs.duke.edu> Date: Thu, 7 Feb 2002 20:42:05 -0500 (EST) To: Julian Elischer Cc: Jake Burkholder , current@FreeBSD.ORG Subject: Re: Non 386 testers REALLY NEEDED In-Reply-To: References: <15457.55151.257417.981564@grasshopper.cs.duke.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Julian Elischer writes: > > > I've committed both the kernel diff and a libkvm diff that seems to work > for me here. > > can you check it with the new -current again ? World breakage on alpha: usr/src/gnu/usr.bin/binutils/gdb/alpha/kvm-fbsd.c: In function `set_proc_cmd': /usr/src/gnu/usr.bin/binutils/gdb/alpha/kvm-fbsd.c:393: structure has no member named `p_thread' *** Error code 1 Stop in /usr/src/gnu/usr.bin/binutils/gdb. *** Error code 1 The following diff fixes it, but isn't likely to be correct. How should kvm be finding the pcb based on the process? Drew Index: kvm-fbsd.c =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/binutils/gdb/alpha/kvm-fbsd.c,v retrieving revision 1.6 diff -u -r1.6 kvm-fbsd.c --- kvm-fbsd.c 13 Oct 2001 04:38:46 -0000 1.6 +++ kvm-fbsd.c 8 Feb 2002 01:39:32 -0000 @@ -390,7 +390,7 @@ addr = (CORE_ADDR)parse_and_eval_address(arg); /* Read the PCB address in proc structure. */ - addr += (int) &((struct proc *)0)->p_thread.td_pcb; + addr += (int) &((struct proc *)0)->p_xxthread.td_pcb; if (kvread(addr, &val)) error("cannot read pcb ptr"); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message