aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb.h
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-02-01 16:24:47 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-02-01 16:24:47 +0000
commit98deb0daaefbe4fd9a2664a636aa71fb8aa678dd (patch)
tree048aa91c316f6f45b4eca253e52556f82ba36646 /gdb/gdb.h
parentce0451adace70feabf93904e7a574fea21154073 (diff)
downloadgdb-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/gdb.h')
-rw-r--r--gdb/gdb.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/gdb.h b/gdb/gdb.h
index c7c405c..fcd3e3b 100644
--- a/gdb/gdb.h
+++ b/gdb/gdb.h
@@ -47,13 +47,6 @@ enum gdb_rc {
enum gdb_rc gdb_breakpoint_query (struct ui_out *uiout, int bnum,
char **error_message);
-/* Create a breakpoint at ADDRESS (a GDB source and line). */
-enum gdb_rc gdb_breakpoint (char *address, char *condition,
- int hardwareflag, int tempflag,
- int thread, int ignore_count,
- int pending,
- char **error_message);
-
/* Switch thread and print notification. */
enum gdb_rc gdb_thread_select (struct ui_out *uiout, char *tidstr,
char **error_message);