mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* 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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user