diff options
Diffstat (limited to 'gnu/usr.bin/gdb/kgdb/trgt_powerpc.c')
-rw-r--r-- | gnu/usr.bin/gdb/kgdb/trgt_powerpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/kgdb/trgt_powerpc.c b/gnu/usr.bin/gdb/kgdb/trgt_powerpc.c index 95e6161..6b8731b 100644 --- a/gnu/usr.bin/gdb/kgdb/trgt_powerpc.c +++ b/gnu/usr.bin/gdb/kgdb/trgt_powerpc.c @@ -54,7 +54,7 @@ kgdb_trgt_fetch_registers(int regno __unused) tdep = gdbarch_tdep (current_gdbarch); - 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)) { |