From 07257b7e1ca983ab60ec79a5e46da878748cca5e Mon Sep 17 00:00:00 2001 From: Juli Mallett Date: Tue, 13 Mar 2012 04:50:41 +0000 Subject: [PATCH] Note two shortcomings of GDB on MIPS that should be addressed. --- contrib/gdb/gdb/mipsfbsd-tdep.c | 2 ++ gnu/usr.bin/gdb/arch/mips/Makefile | 3 +++ 2 files changed, 5 insertions(+) diff --git a/contrib/gdb/gdb/mipsfbsd-tdep.c b/contrib/gdb/gdb/mipsfbsd-tdep.c index 06b01668a71d..f1b49711eb82 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 a6d4d9e14f7b..24e9cfce25e5 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