From e669a5d44d3a4cf211bf1968990f4897700b1531 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 3 Mar 2001 01:38:49 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 9 +++++++++ gdb/MAINTAINERS | 2 +- gdb/config/mn10200/tm-mn10200.h | 5 +++++ gdb/mn10200-tdep.c | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7655fcb419..c5cbd2de89 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 4c6ec8e8e5..7b4972d908 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 d7cc9395ea..a8f521d3f8 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 d58c8e5fe3..f6217a5145 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) { -- 2.11.0