diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-02-01 16:24:47 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-02-01 16:24:47 +0000 |
commit | 98deb0daaefbe4fd9a2664a636aa71fb8aa678dd (patch) | |
tree | 048aa91c316f6f45b4eca253e52556f82ba36646 /gdb/breakpoint.h | |
parent | ce0451adace70feabf93904e7a574fea21154073 (diff) | |
download | gdb-98deb0daaefbe4fd9a2664a636aa71fb8aa678dd.zip gdb-98deb0daaefbe4fd9a2664a636aa71fb8aa678dd.tar.gz gdb-98deb0daaefbe4fd9a2664a636aa71fb8aa678dd.tar.bz2 |
* breakpoint.c (break_command_1): Return void.
(break_command_really): Return void. Rethrow
exceptions instead of returning.
(gdb_breakpoint): Remove the error_message parameter.
Return void. Rename to set_breakpoint.
* gdb.h (gdb_breakpoint): Rename and move to...
* breakpoint.h (set_breakpoint): ...here.
* mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
event hooks even if exception is thrown. Adjust to
gdb_breakpoint interface changes.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 7b72e19..41730c0 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -710,6 +710,11 @@ extern void awatch_command_wrapper (char *, int); extern void rwatch_command_wrapper (char *, int); extern void tbreak_command (char *, int); +extern void set_breakpoint (char *address, char *condition, + int hardwareflag, int tempflag, + int thread, int ignore_count, + int pending); + extern void insert_breakpoints (void); extern int remove_breakpoints (void); |