diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2019-11-26 12:12:03 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2019-11-26 14:29:20 -0500 |
commit | adce99fe6988c7d5543ef5b996acac57a117372b (patch) | |
tree | 42280b99ba3e23c890caeccba7031b8b3904a812 | |
parent | fe3adccffd7a62096af96228a280a6457deb5896 (diff) | |
download | gdb-adce99fe6988c7d5543ef5b996acac57a117372b.zip gdb-adce99fe6988c7d5543ef5b996acac57a117372b.tar.gz gdb-adce99fe6988c7d5543ef5b996acac57a117372b.tar.bz2 |
Remove unused rbreak_command_wrapper and other declarations
rbreak_command_wrapper is unused, so remove it. And while at it, remove
other declarations around it.
gdb/ChangeLog:
* breakpoint.h (hbreak_command_wrapper, thbreak_command_wrapper,
rbreak_command_wrapper): Remove.
* symtab.c (rbreak_command_wrapper): Remove.
Change-Id: If9782f205e4913f8dfc5beeaa526544f25e099c6
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/breakpoint.h | 3 | ||||
-rw-r--r-- | gdb/symtab.c | 8 |
3 files changed, 6 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8bba12a..40403fb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2019-11-26 Simon Marchi <simon.marchi@efficios.com> + * breakpoint.h (hbreak_command_wrapper, thbreak_command_wrapper, + rbreak_command_wrapper): Remove. + * symtab.c (rbreak_command_wrapper): Remove. + +2019-11-26 Simon Marchi <simon.marchi@efficios.com> + * inferior.h (info_terminal_command): Remove declaration. * inflow.c (info_terminal_command): Make static. diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 5c8f17c..a9d689d 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -1299,9 +1299,6 @@ const char *bpdisp_text (enum bpdisp disp); extern void break_command (const char *, int); -extern void hbreak_command_wrapper (const char *, int); -extern void thbreak_command_wrapper (const char *, int); -extern void rbreak_command_wrapper (const char *, int); extern void watch_command_wrapper (const char *, int, int); extern void awatch_command_wrapper (const char *, int, int); extern void rwatch_command_wrapper (const char *, int, int); diff --git a/gdb/symtab.c b/gdb/symtab.c index 2e8ae23..711f8ef 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -5074,14 +5074,6 @@ info_modules_command (const char *args, int from_tty) from_tty); } -/* Breakpoint all functions matching regular expression. */ - -void -rbreak_command_wrapper (char *regexp, int from_tty) -{ - rbreak_command (regexp, from_tty); -} - static void rbreak_command (const char *regexp, int from_tty) { |