Date: Fri, 23 May 2008 15:26:55 -0400 From: John Baldwin <jhb@freebsd.org> To: mips@freebsd.org Subject: Patch for kgdb Message-ID: <200805231526.55969.jhb@freebsd.org>
next in thread | raw e-mail | index | archive | help
These are the changes I mentioned earlier to David to catch the kgdb mips support up to the recent changes to kgdb. What is there now won't compile (binary can't link) and also won't work. --- //depot/vendor/freebsd/src/gnu/usr.bin/gdb/kgdb/trgt_mips.c 2008/05/20 23:42:06 +++ //depot/user/jhb/kgdb/gnu/usr.bin/gdb/kgdb/trgt_mips.c 2008/05/23 19:12:28 @@ -54,7 +54,7 @@ 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 @@ 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; -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805231526.55969.jhb>