diff options
author | Markus Deuling <deuling@de.ibm.com> | 2007-11-07 06:33:01 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2007-11-07 06:33:01 +0000 |
commit | 67d57894593345f23efe728f00b0a8c72216b962 (patch) | |
tree | e8afe7cf652a46cb92493e2636f547b04a5b9738 /gdb/score-tdep.c | |
parent | 7a22ecfc4b49af6e821525efa9c2f61bc7a959d8 (diff) | |
download | fsf-binutils-gdb-67d57894593345f23efe728f00b0a8c72216b962.zip fsf-binutils-gdb-67d57894593345f23efe728f00b0a8c72216b962.tar.gz fsf-binutils-gdb-67d57894593345f23efe728f00b0a8c72216b962.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'gdb/score-tdep.c')
-rw-r--r-- | gdb/score-tdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/score-tdep.c b/gdb/score-tdep.c index 8df499e..d973107 100644 --- a/gdb/score-tdep.c +++ b/gdb/score-tdep.c @@ -321,7 +321,8 @@ score_print_insn (bfd_vma memaddr, struct disassemble_info *info) } static const gdb_byte * -score_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr) +score_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, + int *lenptr) { gdb_byte buf[SCORE_INSTLEN] = { 0 }; int ret; @@ -334,7 +335,7 @@ score_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr) } raw = extract_unsigned_integer (buf, SCORE_INSTLEN); - if (gdbarch_byte_order (current_gdbarch) == BFD_ENDIAN_BIG) + if (gdbarch_byte_order (gdbarch) == BFD_ENDIAN_BIG) { if (!(raw & 0x80008000)) { |