Index: gdb/gdbserver/mem-break.h |
diff --git a/gdb/gdbserver/mem-break.h b/gdb/gdbserver/mem-break.h |
index 16b6dec869878bab34d6927a6a2b3de3ebe18cb9..bb2aa039240429be32edf591e26be9ea6532c071 100644 |
--- a/gdb/gdbserver/mem-break.h |
+++ b/gdb/gdbserver/mem-break.h |
@@ -25,6 +25,11 @@ |
struct breakpoint; |
struct fast_tracepoint_jump; |
+/* Locate a breakpoint placed at address WHERE and return a pointer |
+ to its structure. */ |
+ |
+struct breakpoint *find_gdb_breakpoint_at (CORE_ADDR where); |
+ |
/* Create a new GDB breakpoint at WHERE. Returns -1 if breakpoints |
are not supported on this target, 0 otherwise. */ |
@@ -39,6 +44,27 @@ int breakpoint_here (CORE_ADDR addr); |
int breakpoint_inserted_here (CORE_ADDR addr); |
+/* Clear all breakpoint conditions associated with this address. */ |
+ |
+void clear_gdb_breakpoint_conditions (CORE_ADDR addr); |
+ |
+/* Set target-side condition CONDITION to the breakpoint at ADDR. */ |
+ |
+int add_breakpoint_condition (CORE_ADDR addr, char **condition); |
+ |
+int add_breakpoint_commands (CORE_ADDR addr, char **commands, int persist); |
+ |
+int any_persistent_commands (void); |
+ |
+/* Evaluation condition (if any) at breakpoint BP. Return 1 if |
+ true and 0 otherwise. */ |
+ |
+int gdb_condition_true_at_breakpoint (CORE_ADDR where); |
+ |
+int gdb_no_commands_at_breakpoint (CORE_ADDR where); |
+ |
+void run_breakpoint_commands (CORE_ADDR where); |
+ |
/* Returns TRUE if there's a GDB breakpoint set at ADDR. */ |
int gdb_breakpoint_here (CORE_ADDR where); |