public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove unused rbreak_command_wrapper and other declarations
@ 2019-11-26 19:49 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2019-11-26 19:49 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=adce99fe6988c7d5543ef5b996acac57a117372b

commit adce99fe6988c7d5543ef5b996acac57a117372b
Author: Simon Marchi <simon.marchi@efficios.com>
Date:   Tue Nov 26 12:12:03 2019 -0500

    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

Diff:
---
 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 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)
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-26 19:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26 19:49 [binutils-gdb] Remove unused rbreak_command_wrapper and other declarations Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).