summaryrefslogtreecommitdiff
path: root/gdb/sh64-tdep.c
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2007-11-07 06:33:01 +0000
committerMarkus Deuling <deuling@de.ibm.com>2007-11-07 06:33:01 +0000
commit5c5ecef7ea0acae42ac3a4be606af41ba7fd71fd (patch)
tree2fc0f732a41ceb12b0f3873c4c7c9bc2279c61bf /gdb/sh64-tdep.c
parentc7da72662e62078ed4779b46b9914193447df60c (diff)
downloadgdb-5c5ecef7ea0acae42ac3a4be606af41ba7fd71fd.tar.gz
*** empty log message ***
Diffstat (limited to 'gdb/sh64-tdep.c')
-rw-r--r--gdb/sh64-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c
index d26b82c8c67..2b01c19ad45 100644
--- a/gdb/sh64-tdep.c
+++ b/gdb/sh64-tdep.c
@@ -252,7 +252,7 @@ pc_is_isa32 (bfd_vma memaddr)
}
static const unsigned char *
-sh64_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
+sh64_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, int *lenptr)
{
/* The BRK instruction for shmedia is
01101111 11110101 11111111 11110000
@@ -264,7 +264,7 @@ sh64_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
which translates in big endian mode to 0x0, 0x3b
and in little endian mode to 0x3b, 0x0*/
- if (gdbarch_byte_order (current_gdbarch) == BFD_ENDIAN_BIG)
+ if (gdbarch_byte_order (gdbarch) == BFD_ENDIAN_BIG)
{
if (pc_is_isa32 (*pcptr))
{