aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-22 12:47:48 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-22 12:47:48 +0000
commit1c0fdd0e373fdcd6af266b2910f49903e281193a (patch)
tree5f88754db22d7db009d04ae928da4d9e742d4b61 /gdb/gdbarch.c
parente487cc15a42e5089c73e2c642241655240a52657 (diff)
downloadgdb-1c0fdd0e373fdcd6af266b2910f49903e281193a.zip
gdb-1c0fdd0e373fdcd6af266b2910f49903e281193a.tar.gz
gdb-1c0fdd0e373fdcd6af266b2910f49903e281193a.tar.bz2
* infrun.c (adjust_pc_after_break): Do not assume software single-step
is always active if SOFTWARE_SINGLE_STEP_P is true. (resume): Use gdbarch_software_single_step[_p] instead of SOFTWARE_SINGLE_STEP[_P]. (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P. * gdbarch.sh (software_single_step): Remove target macro. * gdbarch.h, gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 37a7861..825ce1c 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -976,21 +976,9 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file)
fprintf_unfiltered (file,
"gdbarch_dump: smash_text_address = <0x%lx>\n",
(long) current_gdbarch->smash_text_address);
-#ifdef SOFTWARE_SINGLE_STEP_P
- fprintf_unfiltered (file,
- "gdbarch_dump: %s # %s\n",
- "SOFTWARE_SINGLE_STEP_P()",
- XSTRING (SOFTWARE_SINGLE_STEP_P ()));
-#endif
fprintf_unfiltered (file,
"gdbarch_dump: gdbarch_software_single_step_p() = %d\n",
gdbarch_software_single_step_p (current_gdbarch));
-#ifdef SOFTWARE_SINGLE_STEP
- fprintf_unfiltered (file,
- "gdbarch_dump: %s # %s\n",
- "SOFTWARE_SINGLE_STEP(frame)",
- XSTRING (SOFTWARE_SINGLE_STEP (frame)));
-#endif
fprintf_unfiltered (file,
"gdbarch_dump: software_single_step = <0x%lx>\n",
(long) current_gdbarch->software_single_step);