From b5a37058d497b85520b1cd21d88ce40864a04f46 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Thu, 24 Nov 1994 07:07:21 +0000 Subject: [PATCH] * tm-h8300.h (REMOTE_BREAKPOINT): Define. * h8300-tdep.c (h8300_pop_frame): Remove redundant call. --- gdb/ChangeLog | 3 +++ gdb/config/h8300/tm-h8300.h | 3 ++- gdb/h8300-tdep.c | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bf1d6984602..5cc5e896cce 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 a962d02515c..993947f6a6a 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 9252ca0eac6..ae899599553 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++) -- 2.30.2