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/iq2000-tdep.c | |
parent | 7a22ecfc4b49af6e821525efa9c2f61bc7a959d8 (diff) | |
download | gdb-67d57894593345f23efe728f00b0a8c72216b962.zip gdb-67d57894593345f23efe728f00b0a8c72216b962.tar.gz gdb-67d57894593345f23efe728f00b0a8c72216b962.tar.bz2 |
*** 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 c7f49de..1e95077 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: */ |