This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Remove an unused function from thread-db.c


Committed to HEAD and 6.1 branch, to fix a -Wunused-function warning.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

2004-02-28  Daniel Jacobowitz  <drow@mvista.com>

	* thread-db.c (disable_thread_signals): Remove unused function.

Index: thread-db.c
===================================================================
RCS file: /cvs/src/src/gdb/thread-db.c,v
retrieving revision 1.36
diff -u -p -r1.36 thread-db.c
--- thread-db.c	4 Dec 2003 00:20:25 -0000	1.36
+++ thread-db.c	29 Feb 2004 02:37:22 -0000
@@ -585,27 +585,6 @@ check_thread_signals (void)
 }
 
 static void
-disable_thread_signals (void)
-{
-#ifdef GET_THREAD_SIGNALS
-  if (thread_signals)
-    {
-      int i;
-
-      for (i = 1; i < NSIG; i++)
-	{
-	  if (sigismember (&thread_stop_set, i))
-	    signal_stop_update (target_signal_from_host (i), 1);
-	  if (sigismember (&thread_print_set, i))
-	    signal_print_update (target_signal_from_host (i), 1);
-	}
-
-      thread_signals = 0;
-    }
-#endif
-}
-
-static void
 thread_db_new_objfile (struct objfile *objfile)
 {
   td_err_e err;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]