aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-09-14 11:08:44 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-09-14 11:08:44 +0000
commite433a4a84b6393baf5b16b3ac6623511b86694ef (patch)
treed09aa650ef043a8e0a4488e6636675f0c5d1d733 /gnu/usr.bin
parentc9842b5a55138c2bcaace3d5637e23f275e5ba15 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils/gdb/alpha/kvm-fbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/alpha/kvm-fbsd.c b/gnu/usr.bin/binutils/gdb/alpha/kvm-fbsd.c
index 2a3920077d6b..be956977c37b 100644
--- a/gnu/usr.bin/binutils/gdb/alpha/kvm-fbsd.c
+++ b/gnu/usr.bin/binutils/gdb/alpha/kvm-fbsd.c
@@ -384,9 +384,9 @@ set_proc_cmd(arg)
addr = (CORE_ADDR)parse_and_eval_address(arg);
/* Read the PCB address in proc structure. */
- addr += (int) &((struct proc *)0)->p_addr;
+ addr += (int) &((struct proc *)0)->p_thread.td_pcb;
if (kvread(addr, &val))
- error("cannot read u area ptr");
+ error("cannot read pcb ptr");
if (set_context((CORE_ADDR)val))
error("invalid proc address");