diff options
Diffstat (limited to 'gdb/gdbserver/mem-break.h')
-rw-r--r-- | gdb/gdbserver/mem-break.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/gdbserver/mem-break.h b/gdb/gdbserver/mem-break.h index 1665538..4346881 100644 --- a/gdb/gdbserver/mem-break.h +++ b/gdb/gdbserver/mem-break.h @@ -48,10 +48,17 @@ int breakpoint_inserted_here (CORE_ADDR addr); void clear_gdb_breakpoint_conditions (CORE_ADDR addr); -/* Set target-side condition CONDITION to the breakpoint at ADDR. */ +/* Set target-side condition CONDITION to the breakpoint at ADDR. + Returns false on failure. On success, advances CONDITION pointer + past the condition and returns true. */ int add_breakpoint_condition (CORE_ADDR addr, char **condition); +/* Set target-side commands COMMANDS to the breakpoint at ADDR. + Returns false on failure. On success, advances COMMANDS past the + commands and returns true. If PERSIST, the commands should run + even while GDB is disconnected. */ + int add_breakpoint_commands (CORE_ADDR addr, char **commands, int persist); int any_persistent_commands (void); |