aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2010-07-19 07:55:43 +0000
committerHui Zhu <teawater@gmail.com>2010-07-19 07:55:43 +0000
commitf02253f1909284075016131674ee0875015d0788 (patch)
tree5ece737e989f16a06dfb72587adb46b8a2efce39 /gdb/breakpoint.h
parent06e700d6a22b1fef818370066f589867a1715374 (diff)
downloadgdb-f02253f1909284075016131674ee0875015d0788.zip
gdb-f02253f1909284075016131674ee0875015d0788.tar.gz
gdb-f02253f1909284075016131674ee0875015d0788.tar.bz2
2010-07-19 Hui Zhu <teawater@gmail.com>
* breakpoint.c (single_step_breakpoints_inserted): New function. * breakpoint.h (single_step_breakpoints_inserted): Extern. * infrun.c (maybe_software_singlestep): Add check code. * record.c (record_resume): Add code for software single step. (record_wait): Ditto.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 6f5d050..18dfe22 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -1000,6 +1000,7 @@ extern int remove_hw_watchpoints (void);
twice before remove is called. */
extern void insert_single_step_breakpoint (struct gdbarch *,
struct address_space *, CORE_ADDR);
+extern int single_step_breakpoints_inserted (void);
extern void remove_single_step_breakpoints (void);
extern void cancel_single_step_breakpoints (void);