diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-02-08 04:17:33 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-02-08 04:17:33 +0000 |
| commit | 489b85b027a6390cf73b9636b7271ddb56e031c0 (patch) | |
| tree | 90c611d84aa9a918dd1b601c92fa60e3559b94b7 /gnu/usr.bin | |
| parent | 97b79abc86d4c1a2f6addb7536bb2ef591238a65 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin')
| -rw-r--r-- | gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c | 2 | ||||
| -rw-r--r-- | gnu/usr.bin/binutils/gdb/kvm-fbsd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c b/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c index 241b876b5c7f..8ee75b5c4ed5 100644 --- a/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c +++ b/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c @@ -392,7 +392,7 @@ get_kcore_registers (regno) /* find the pcb for the current process */ if (cur_proc == NULL) error ("get_kcore_registers no proc"); - if (kvread (TAILQ_FIRST(&cur_proc->p_threads), &mainthread)) /* XXXKSE */ + if (kvread (&TAILQ_FIRST(&cur_proc->p_threads), &mainthread)) /* XXXKSE */ error ("cannot read main thread for proc at %#x", cur_proc); if (kvread (&mainthread->td_pcb, &pcbaddr)) /* XXXKSE */ error ("cannot read pcb pointer for proc at %#x", cur_proc); diff --git a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c index 241b876b5c7f..8ee75b5c4ed5 100644 --- a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c +++ b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c @@ -392,7 +392,7 @@ get_kcore_registers (regno) /* find the pcb for the current process */ if (cur_proc == NULL) error ("get_kcore_registers no proc"); - if (kvread (TAILQ_FIRST(&cur_proc->p_threads), &mainthread)) /* XXXKSE */ + if (kvread (&TAILQ_FIRST(&cur_proc->p_threads), &mainthread)) /* XXXKSE */ error ("cannot read main thread for proc at %#x", cur_proc); if (kvread (&mainthread->td_pcb, &pcbaddr)) /* XXXKSE */ error ("cannot read pcb pointer for proc at %#x", cur_proc); |
