summaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-04-12 14:52:20 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-04-12 14:52:20 +0000
commit6f0a9912c6bc429707b9839cfd5cb8a551b4ad6d (patch)
tree391132aaf91382b872132cd110529888d738ae1e /gdb/rs6000-tdep.h
parentdcde1bee6ce2d4e6f64d3ca3d20a993878e5e40d (diff)
downloadgdb-6f0a9912c6bc429707b9839cfd5cb8a551b4ad6d.tar.gz
2007-04-12 Luis Machado <luisgpm@br.ibm.com>
* gdbarch.sh (software_single_step): Change the return type from void to int and reformatted some comments to <= 80 columns. * gdbarch.c, gdbarch.h: Regenerated. * alpha-tdep.c (alpha_software_single_step): Likewise. * alpha-tdep.h (alpha_software_single_step): Likewise. * arm-tdep.c (arm_software_single_step): Likewise. * cris-tdep.c (cris_software_single_step): Likewise. * mips-tdep.c (mips_software_single_step): Likewise. * mips-tdep.h (mips_software_single_step): Likewise. * rs6000-tdep.c (rs6000_software_single_step): Likewise. * rs6000-tdep.h (rs6000_software_single_step): Likewise. * sparc-tdep.c (sparc_software_single_step): Likewise. * sparc-tdep.h (sparc_software_single_step): Likewise. * spu-tdep.c (spu_software_single_step): Likewise. * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP and act accordingly.
Diffstat (limited to 'gdb/rs6000-tdep.h')
-rw-r--r--gdb/rs6000-tdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rs6000-tdep.h b/gdb/rs6000-tdep.h
index f655f631276..569fa187c77 100644
--- a/gdb/rs6000-tdep.h
+++ b/gdb/rs6000-tdep.h
@@ -21,8 +21,8 @@
#include "defs.h"
-extern void rs6000_software_single_step (enum target_signal signal,
- int insert_breakpoints_p);
+extern int rs6000_software_single_step (enum target_signal signal,
+ int insert_breakpoints_p);
/* Hook in rs6000-tdep.c for determining the TOC address when
calling functions in the inferior. */