diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2001-09-14 11:08:44 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2001-09-14 11:08:44 +0000 |
| commit | e433a4a84b6393baf5b16b3ac6623511b86694ef (patch) | |
| tree | d09aa650ef043a8e0a4488e6636675f0c5d1d733 /gnu/usr.bin | |
| parent | c9842b5a55138c2bcaace3d5637e23f275e5ba15 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin')
| -rw-r--r-- | gnu/usr.bin/binutils/gdb/alpha/kvm-fbsd.c | 4 |
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"); |
