diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-05 11:58:30 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-05 11:58:30 +0000 |
commit | 2454a0247b12f34d5eb87f52172722115b0f0915 (patch) | |
tree | 225e9adcebeb877f6390e36968983bda15abe030 /gdb/rs6000-aix-tdep.c | |
parent | b52323fa6f6d31f493d91a425c036075ecf05e14 (diff) | |
download | binutils-gdb-2454a0247b12f34d5eb87f52172722115b0f0915.tar.gz |
* 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.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/rs6000-aix-tdep.c b/gdb/rs6000-aix-tdep.c index 6edea05666b..a6e40fca006 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); |