From 67d57894593345f23efe728f00b0a8c72216b962 Mon Sep 17 00:00:00 2001 From: Markus Deuling Date: Wed, 7 Nov 2007 06:33:01 +0000 Subject: *** empty log message *** --- gdb/score-tdep.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gdb/score-tdep.c') 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)) { -- cgit v1.1