aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-aix-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-05 11:58:30 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-05 11:58:30 +0000
commit2454a0247b12f34d5eb87f52172722115b0f0915 (patch)
tree225e9adcebeb877f6390e36968983bda15abe030 /gdb/rs6000-aix-tdep.c
parentb52323fa6f6d31f493d91a425c036075ecf05e14 (diff)
downloadgdb-2454a0247b12f34d5eb87f52172722115b0f0915.zip
gdb-2454a0247b12f34d5eb87f52172722115b0f0915.tar.gz
gdb-2454a0247b12f34d5eb87f52172722115b0f0915.tar.bz2
* rs6000-tdep.c (rs6000_gdbarch_init): Setup displaced stepping
*before* calling gdbarch_init_osabi. (rs6000_aix_init_osabi): Disable displaced stepping.
Diffstat (limited to 'gdb/rs6000-aix-tdep.c')
-rw-r--r--gdb/rs6000-aix-tdep.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/rs6000-aix-tdep.c b/gdb/rs6000-aix-tdep.c
index 6edea05..a6e40fc 100644
--- a/gdb/rs6000-aix-tdep.c
+++ b/gdb/rs6000-aix-tdep.c
@@ -714,6 +714,13 @@ rs6000_aix_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch)
/* RS6000/AIX does not support PT_STEP. Has to be simulated. */
set_gdbarch_software_single_step (gdbarch, rs6000_software_single_step);
+ /* Displaced stepping is currently not supported in combination with
+ software single-stepping. */
+ set_gdbarch_displaced_step_copy_insn (gdbarch, NULL);
+ set_gdbarch_displaced_step_fixup (gdbarch, NULL);
+ set_gdbarch_displaced_step_free_closure (gdbarch, NULL);
+ set_gdbarch_displaced_step_location (gdbarch, NULL);
+
set_gdbarch_push_dummy_call (gdbarch, rs6000_push_dummy_call);
set_gdbarch_return_value (gdbarch, rs6000_return_value);
set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT);