diff options
author | Steve Chamberlain <sac@cygnus> | 1994-11-24 07:07:21 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1994-11-24 07:07:21 +0000 |
commit | b5a37058d497b85520b1cd21d88ce40864a04f46 (patch) | |
tree | b874422e894c3374ca03b5ea6b31a0f085e6b937 | |
parent | 811b15ef6db7f0e82b866ad6b61fe1fb83db9ae2 (diff) | |
download | gdb-b5a37058d497b85520b1cd21d88ce40864a04f46.zip gdb-b5a37058d497b85520b1cd21d88ce40864a04f46.tar.gz gdb-b5a37058d497b85520b1cd21d88ce40864a04f46.tar.bz2 |
* tm-h8300.h (REMOTE_BREAKPOINT): Define.
* h8300-tdep.c (h8300_pop_frame): Remove redundant call.
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/config/h8300/tm-h8300.h | 3 | ||||
-rw-r--r-- | gdb/h8300-tdep.c | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bf1d698..5cc5e89 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 a962d02..993947f 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 9252ca0..ae89959 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++) |