aboutsummaryrefslogtreecommitdiff
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
commitc53efe6e572171de0a46423b865de9517124c3ef (patch)
treefc4fb7d6f4d37b075a92a70310f9ffa664841d21
parent52b5c2eb6cd9cbc9ceac18d23a6e44b27cf4e37c (diff)
downloadgdb-c53efe6e572171de0a46423b865de9517124c3ef.zip
gdb-c53efe6e572171de0a46423b865de9517124c3ef.tar.gz
gdb-c53efe6e572171de0a46423b865de9517124c3ef.tar.bz2
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 7655fcb..c5cbd2d 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 4c6ec8e..7b4972d 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 d7cc939..a8f521d 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 d58c8e5..f6217a5 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)
{