forked from Imagelibrary/binutils-gdb
Constify some commands in breakpoint.c
This also makes delete_command static; but now I wonder if it is used in Insight and should not be touched. gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * breakpoint.h (delete_command): Don't declare. * breakpoint.c (delete_command, enable_once_command) (enable_count_command, enable_delete_command, breakpoint_1) (maintenance_info_breakpoints, stopin_command, stopat_command) (delete_command, delete_trace_command, save_breakpoints) (save_breakpoints_command, save_tracepoints_command): Constify.
This commit is contained in:
@@ -1521,10 +1521,6 @@ extern int is_catchpoint (struct breakpoint *);
|
||||
extern void add_solib_catchpoint (const char *arg, int is_load, int is_temp,
|
||||
int enabled);
|
||||
|
||||
/* Enable breakpoints and delete when hit. Called with ARG == NULL
|
||||
deletes all breakpoints. */
|
||||
extern void delete_command (char *arg, int from_tty);
|
||||
|
||||
/* Create and insert a new software single step breakpoint for the
|
||||
current thread. May be called multiple times; each time will add a
|
||||
new location to the set of potential addresses the next instruction
|
||||
|
||||
Reference in New Issue
Block a user