diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-22 16:55:03 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-22 16:55:03 +0000 |
commit | 5613269142b3d02fb227db9855bfda034fb261de (patch) | |
tree | e037fb728123bf55344f565d235ba0eea4b4a215 | |
parent | 343af40512fa1c17de0216abb9cbaf8c9ecfa4eb (diff) | |
download | fsf-binutils-gdb-5613269142b3d02fb227db9855bfda034fb261de.zip fsf-binutils-gdb-5613269142b3d02fb227db9855bfda034fb261de.tar.gz fsf-binutils-gdb-5613269142b3d02fb227db9855bfda034fb261de.tar.bz2 |
2004-02-22 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
unsigned.
(hppa_frame_find_saved_regs): Fix "std" instruction pattern
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7baa02a..9461c20 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2004-02-22 Andrew Cagney <cagney@redhat.com> + * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint" + unsigned. + (hppa_frame_find_saved_regs): Fix "std" instruction pattern + * config/pa/tm-hppa.h: Update copyright. (DEPRECATED_INIT_FRAME_PC): Delete macro. (deprecated_init_frame_pc_default): Delete declaration. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 3cf05cf..9412479 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -702,7 +702,7 @@ find_unwind_entry (CORE_ADDR pc) const unsigned char * hppa_breakpoint_from_pc (CORE_ADDR *pc, int *len) { - static const char breakpoint[] = {0x00, 0x01, 0x00, 0x04}; + static const unsigned char breakpoint[] = {0x00, 0x01, 0x00, 0x04}; (*len) = sizeof (breakpoint); return breakpoint; } @@ -4149,7 +4149,7 @@ hppa_frame_find_saved_regs (struct frame_info *frame_info, && extract_14 (inst) >= 0) frame_saved_regs[reg] = get_frame_base (frame_info); /* A std has explicit post_modify forms. */ - else if ((inst & 0xfc00000c0) == 0x70000008) + else if ((inst & 0xfc00000c) == 0x70000008) frame_saved_regs[reg] = get_frame_base (frame_info); else { |