[PATCH 10/15] Remove unused rbreak_command_wrapper and other declarations

Simon Marchi simon.marchi@efficios.com
Mon Nov 25 05:33:00 GMT 2019


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/breakpoint.h | 3 ---
 gdb/symtab.c     | 8 --------
 2 files changed, 11 deletions(-)

diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 5c8f17ce397e..a9d689d02a22 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 59b1cb491a09..0f4cfa75eef2 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.24.0



More information about the Gdb-patches mailing list