projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ARM] Fixup PC in software single step
[binutils-gdb.git]
/
gdb
/
arch
/
arm-get-next-pcs.c
diff --git
a/gdb/arch/arm-get-next-pcs.c
b/gdb/arch/arm-get-next-pcs.c
index e84014742ebff69343617581d9e6b05e87395390..840486979874daac10300a55b0edd038fd0e76c8 100644
(file)
--- a/
gdb/arch/arm-get-next-pcs.c
+++ b/
gdb/arch/arm-get-next-pcs.c
@@
-923,5
+923,16
@@
arm_get_next_pcs (struct arm_get_next_pcs *self)
next_pcs = arm_get_next_pcs_raw (self);
}
next_pcs = arm_get_next_pcs_raw (self);
}
+ if (self->ops->fixup != NULL)
+ {
+ CORE_ADDR nextpc;
+ int i;
+
+ for (i = 0; VEC_iterate (CORE_ADDR, next_pcs, i, nextpc); i++)
+ {
+ nextpc = self->ops->fixup (self, nextpc);
+ VEC_replace (CORE_ADDR, next_pcs, i, nextpc);
+ }
+ }
return next_pcs;
}
return next_pcs;
}