aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-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
commit67d57894593345f23efe728f00b0a8c72216b962 (patch)
treee8afe7cf652a46cb92493e2636f547b04a5b9738 /gdb/arm-tdep.c
parent7a22ecfc4b49af6e821525efa9c2f61bc7a959d8 (diff)
downloadgdb-67d57894593345f23efe728f00b0a8c72216b962.zip
gdb-67d57894593345f23efe728f00b0a8c72216b962.tar.gz
gdb-67d57894593345f23efe728f00b0a8c72216b962.tar.bz2
*** empty log message ***
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index b0db482..6f0fea6 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -2068,9 +2068,9 @@ static const char arm_default_thumb_be_breakpoint[] = THUMB_BE_BREAKPOINT;
breakpoint should be inserted. */
static const unsigned char *
-arm_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
+arm_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, int *lenptr)
{
- struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
+ struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
if (arm_pc_is_thumb (*pcptr))
{