From: Andrew Cagney Date: Sat, 3 Mar 2001 01:38:49 +0000 (+0000) Subject: From 2001-03-01 Tom Rix : X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c53efe6e572171de0a46423b865de9517124c3ef;p=binutils-gdb.git From 2001-03-01 Tom Rix : * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc'' parameter to mn10200_analyze_prologue. * config/mn10200/tm-mn10200.h: Include "regcache.h". * MAINTAINERS: Document that mn10200-elf target is buildable. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7655fcb4195..c5cbd2de893 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2001-03-02 Andrew Cagney + + From 2001-03-01 Tom Rix : + * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc'' + parameter to mn10200_analyze_prologue. + + * config/mn10200/tm-mn10200.h: Include "regcache.h". + * MAINTAINERS: Document that mn10200-elf target is buildable. + 2001-03-02 Kevin Buettner * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS index 4c6ec8e8e51..7b4972d908b 100644 --- a/gdb/MAINTAINERS +++ b/gdb/MAINTAINERS @@ -107,7 +107,7 @@ maintainer works with the native maintainer when resolving API issues. mips --target=mips-elf,mips64-elf ,-Werror Andrew Cagney cagney@cygnus.com - mn10200 (--target=mn10200-elf broken) + mn10200 --target=mn10200-elf ,-Werror Maintenance only mn10300 --target=mn10300-elf ,-Werror diff --git a/gdb/config/mn10200/tm-mn10200.h b/gdb/config/mn10200/tm-mn10200.h index d7cc9395ea0..a8f521d3f89 100644 --- a/gdb/config/mn10200/tm-mn10200.h +++ b/gdb/config/mn10200/tm-mn10200.h @@ -20,6 +20,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* FIXME: cagney/2001-03-01: The below macros refer to functions + declared in "regcache.h". The ``correct fix'' is to convert those + macros into functions. */ +#include "regcache.h" + /* The mn10200 is little endian. */ #define TARGET_BYTE_ORDER LITTLE_ENDIAN diff --git a/gdb/mn10200-tdep.c b/gdb/mn10200-tdep.c index d58c8e5fe30..f6217a51450 100644 --- a/gdb/mn10200-tdep.c +++ b/gdb/mn10200-tdep.c @@ -644,7 +644,7 @@ mn10200_frame_chain (struct frame_info *fi) memset (dummy_frame.fsr.regs, '\000', sizeof dummy_frame.fsr.regs); dummy_frame.status = 0; dummy_frame.stack_size = 0; - mn10200_analyze_prologue (&dummy_frame); + mn10200_analyze_prologue (&dummy_frame, 0); if (dummy_frame.status & MY_FRAME_IN_FP) {