From adce99fe6988c7d5543ef5b996acac57a117372b Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 26 Nov 2019 12:12:03 -0500 Subject: [PATCH] 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 --- gdb/ChangeLog | 6 ++++++ gdb/breakpoint.h | 3 --- gdb/symtab.c | 8 -------- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8bba12ad4c4..40403fb95dd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2019-11-26 Simon Marchi + + * breakpoint.h (hbreak_command_wrapper, thbreak_command_wrapper, + rbreak_command_wrapper): Remove. + * symtab.c (rbreak_command_wrapper): Remove. + 2019-11-26 Simon Marchi * inferior.h (info_terminal_command): Remove declaration. diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 5c8f17ce397..a9d689d02a2 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 2e8ae2383ed..711f8ef196a 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) { -- 2.30.2