summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-03 01:38:49 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-03 01:38:49 +0000
commite669a5d44d3a4cf211bf1968990f4897700b1531 (patch)
tree347affa2b23cb1748fec7ef28fc78898624f49e6
parente6360b10837c3e514ba285cc3d995503b747f654 (diff)
downloadgdb-e669a5d44d3a4cf211bf1968990f4897700b1531.tar.gz
From 2001-03-01 Tom Rix <trix@redhat.com>:
* 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.
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/MAINTAINERS2
-rw-r--r--gdb/config/mn10200/tm-mn10200.h5
-rw-r--r--gdb/mn10200-tdep.c2
4 files changed, 16 insertions, 2 deletions
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 <ac131313@redhat.com>
+
+ From 2001-03-01 Tom Rix <trix@redhat.com>:
+ * 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 <kevinb@redhat.com>
* 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)
{