summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1994-11-24 07:07:21 +0000
committerSteve Chamberlain <sac@cygnus>1994-11-24 07:07:21 +0000
commitb5a37058d497b85520b1cd21d88ce40864a04f46 (patch)
treeb874422e894c3374ca03b5ea6b31a0f085e6b937
parent811b15ef6db7f0e82b866ad6b61fe1fb83db9ae2 (diff)
downloadppe42-binutils-b5a37058d497b85520b1cd21d88ce40864a04f46.tar.gz
ppe42-binutils-b5a37058d497b85520b1cd21d88ce40864a04f46.zip
* tm-h8300.h (REMOTE_BREAKPOINT): Define.
* h8300-tdep.c (h8300_pop_frame): Remove redundant call.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/config/h8300/tm-h8300.h3
-rw-r--r--gdb/h8300-tdep.c1
3 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bf1d698460..5cc5e896cc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
Wed Nov 23 21:43:03 1994 Steve Chamberlain (sac@jonny.cygnus.com)
+ * tm-h8300.h (REMOTE_BREAKPOINT): Define.
+ * h8300-tdep.c (h8300_pop_frame): Remove redundant call.
+
* remote-e7000.c (HARD_BREAKPOINTS): Reenable.
(BC_BREAKPOINTS): Disable.
* sh-tdep.c (print_insn): Cope with big and little endian machines.
diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h
index a962d02515..993947f6a6 100644
--- a/gdb/config/h8300/tm-h8300.h
+++ b/gdb/config/h8300/tm-h8300.h
@@ -79,7 +79,7 @@ extern CORE_ADDR h8300_skip_prologue ();
/*#define BREAKPOINT {0x7A, 0xFF}*/
#define BREAKPOINT {0x01, 0x80} /* Sleep */
-
+#define REMOTE_BREAKPOINT { 0x57, 0x30} /* trapa #3 */
/* If your kernel resets the pc after the trap happens you may need to
define this before including this file. */
@@ -180,6 +180,7 @@ extern CORE_ADDR h8300_skip_prologue ();
it means the given frame is the outermost one and has no caller. */
#define FRAME_CHAIN(FRAME) h8300_frame_chain(FRAME)
+struct frame_info ;
CORE_ADDR h8300_frame_chain PARAMS ((struct frame_info *));
/* In the case of the H8/300, the frame's nominal address
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index 9252ca0eac..ae89959955 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -375,7 +375,6 @@ h8300_pop_frame ()
struct frame_saved_regs fsr;
struct frame_info *frame = get_current_frame ();
- fi = get_frame_info (frame);
get_frame_saved_regs (frame, &fsr);
for (regnum = 0; regnum < 8; regnum++)
OpenPOWER on IntegriCloud