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 | 5c5ecef7ea0acae42ac3a4be606af41ba7fd71fd (patch) | |
tree | 2fc0f732a41ceb12b0f3873c4c7c9bc2279c61bf /gdb/iq2000-tdep.c | |
parent | c7da72662e62078ed4779b46b9914193447df60c (diff) | |
download | gdb-5c5ecef7ea0acae42ac3a4be606af41ba7fd71fd.tar.gz |
*** empty log message ***
Diffstat (limited to 'gdb/iq2000-tdep.c')
-rw-r--r-- | gdb/iq2000-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/iq2000-tdep.c b/gdb/iq2000-tdep.c index c7f49def71d..1e95077eac1 100644 --- a/gdb/iq2000-tdep.c +++ b/gdb/iq2000-tdep.c @@ -490,7 +490,8 @@ static const struct frame_base iq2000_frame_base = { }; static const unsigned char * -iq2000_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr) +iq2000_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, + int *lenptr) { static const unsigned char big_breakpoint[] = { 0x00, 0x00, 0x00, 0x0d }; static const unsigned char little_breakpoint[] = { 0x0d, 0x00, 0x00, 0x00 }; @@ -500,9 +501,8 @@ iq2000_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr) (long) *pcptr); *lenptr = 4; - return (gdbarch_byte_order (current_gdbarch) - == BFD_ENDIAN_BIG) ? big_breakpoint - : little_breakpoint; + return (gdbarch_byte_order (gdbarch) + == BFD_ENDIAN_BIG) ? big_breakpoint : little_breakpoint; } /* Target function return value methods: */ |