diff options
Diffstat (limited to 'gnu/usr.bin/gdb/kgdb/trgt_ia64.c')
-rw-r--r-- | gnu/usr.bin/gdb/kgdb/trgt_ia64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/kgdb/trgt_ia64.c b/gnu/usr.bin/gdb/kgdb/trgt_ia64.c index f9e0136..4d5cea6 100644 --- a/gnu/usr.bin/gdb/kgdb/trgt_ia64.c +++ b/gnu/usr.bin/gdb/kgdb/trgt_ia64.c @@ -52,7 +52,7 @@ kgdb_trgt_fetch_registers(int regno __unused) struct pcb pcb; uint64_t r; - kt = kgdb_thr_lookup_tid(ptid_get_tid(inferior_ptid)); + kt = kgdb_thr_lookup_tid(ptid_get_pid(inferior_ptid)); if (kt == NULL) return; if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) { |