summaryrefslogtreecommitdiff
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
commita535b7e033975123c1592da10ae2b9619ca19ae0 (patch)
tree5cd2215ed81a347450f13c179b011965b58711d8 /gdb/gdb.h
parent2069d4cf99354c4fc9d662e1f9c4af310388eab0 (diff)
downloadgdb-a535b7e033975123c1592da10ae2b9619ca19ae0.tar.gz
* 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 c7c405c7a17..fcd3e3ba166 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);