summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-02-08 04:17:33 +0000
committerpeter <peter@FreeBSD.org>2002-02-08 04:17:33 +0000
commit7afb7d6d36a515b9c19227cce11acce381f6b7c8 (patch)
tree90c611d84aa9a918dd1b601c92fa60e3559b94b7 /gnu
parentd491ac2a48c3ae912f1cd6d2b39bf8f845c6f124 (diff)
downloadFreeBSD-src-7afb7d6d36a515b9c19227cce11acce381f6b7c8.zip
FreeBSD-src-7afb7d6d36a515b9c19227cce11acce381f6b7c8.tar.gz
Add missing &
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c2
-rw-r--r--gnu/usr.bin/binutils/gdb/kvm-fbsd.c2
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 241b876..8ee75b5 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 241b876..8ee75b5 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);
OpenPOWER on IntegriCloud