summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gdb/kgdb/trgt_mips.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-06-18 14:23:28 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-06-18 14:23:28 +0000
commitad335b4edff40a71942a5727cc35251168fd1b58 (patch)
treec0535aae766474e4e685fd5d19a2c5f48bfffeed /gnu/usr.bin/gdb/kgdb/trgt_mips.c
parent643d58f9c0b9ecf0a7175548be22fdd1351f78a7 (diff)
downloadsrc-test2-ad335b4edff40a71942a5727cc35251168fd1b58.tar.gz
src-test2-ad335b4edff40a71942a5727cc35251168fd1b58.zip
Notes
Diffstat (limited to 'gnu/usr.bin/gdb/kgdb/trgt_mips.c')
-rw-r--r--gnu/usr.bin/gdb/kgdb/trgt_mips.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/kgdb/trgt_mips.c b/gnu/usr.bin/gdb/kgdb/trgt_mips.c
index 822c90ec8458..92d6f23ad6e7 100644
--- a/gnu/usr.bin/gdb/kgdb/trgt_mips.c
+++ b/gnu/usr.bin/gdb/kgdb/trgt_mips.c
@@ -54,7 +54,7 @@ kgdb_trgt_fetch_registers(int regno __unused)
struct kthr *kt;
struct pcb pcb;
- 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)) {
@@ -82,6 +82,11 @@ kgdb_trgt_store_registers(int regno __unused)
fprintf_unfiltered(gdb_stderr, "XXX: %s\n", __func__);
}
+void
+kgdb_trgt_new_objfile(struct objfile *objfile)
+{
+}
+
struct kgdb_frame_cache {
CORE_ADDR pc;
CORE_ADDR sp;