summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2012-03-13 04:50:41 +0000
committerjmallett <jmallett@FreeBSD.org>2012-03-13 04:50:41 +0000
commitaea1dfe9df09f5b245dbf63a8002ba662f8b5d2a (patch)
treeb942873daec6ae29ab6ae5c3e5164ec0e41c681b
parent58262fb0f101dcb18afb8c5ef2b366ab30e7b2ae (diff)
downloadFreeBSD-src-aea1dfe9df09f5b245dbf63a8002ba662f8b5d2a.zip
FreeBSD-src-aea1dfe9df09f5b245dbf63a8002ba662f8b5d2a.tar.gz
Note two shortcomings of GDB on MIPS that should be addressed.
-rw-r--r--contrib/gdb/gdb/mipsfbsd-tdep.c2
-rw-r--r--gnu/usr.bin/gdb/arch/mips/Makefile3
2 files changed, 5 insertions, 0 deletions
diff --git a/contrib/gdb/gdb/mipsfbsd-tdep.c b/contrib/gdb/gdb/mipsfbsd-tdep.c
index 06b0166..f1b4971 100644
--- a/contrib/gdb/gdb/mipsfbsd-tdep.c
+++ b/contrib/gdb/gdb/mipsfbsd-tdep.c
@@ -205,6 +205,8 @@ static struct core_fns mipsfbsd_elfcore_fns =
* 0x7ffeffec sigcode -> 44 bytes
*
* 0x7ffeffc4 sigcode end env strings etc start
+ *
+ * XXX This is out-of-date and varies by ABI.
*/
#define MIPS_FBSD_SIGTRAMP_START (0x7ffeffc4)
#define MIPS_FBSD_SIGTRAMP_END (0x7ffeffec)
diff --git a/gnu/usr.bin/gdb/arch/mips/Makefile b/gnu/usr.bin/gdb/arch/mips/Makefile
index a6d4d9e..24e9cfc 100644
--- a/gnu/usr.bin/gdb/arch/mips/Makefile
+++ b/gnu/usr.bin/gdb/arch/mips/Makefile
@@ -1,5 +1,8 @@
# $FreeBSD$
+#
+# XXX Should set DEFAULT_BFD_VEC based on target.
+#
.if !defined(GDB_CROSS_DEBUGGER)
LIBSRCS+= mipsfbsd-nat.c fbsd-threads.c
.endif
OpenPOWER on IntegriCloud