This is the mail archive of the gdb-patches@sourceware.org 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] make disable_breakpoints_in_unloaded_shlib static


I've noticed a function that's only used locally, and committed
the following obvious patch.

- Volodya

Index: gdb/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.8946
diff -u -p -r1.8946 ChangeLog
--- gdb/ChangeLog	19 Nov 2007 05:06:23 -0000	1.8946
+++ gdb/ChangeLog	20 Nov 2007 08:15:27 -0000
@@ -1,3 +1,8 @@
+2007-11-20  Vladimir Prus  <vladimir@codesourcery.com>
+
+	* breakpoint.c (disable_breakpoints_in_unloaded_shlib):
+	Make static.
+
 2007-11-19  Markus Deuling  <deuling@de.ibm.com>
 
 	* gdbarch.sh (register_sim_regno): Add gdbarch as parameter.
Index: gdb/breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.281
diff -u -p -r1.281 breakpoint.c
--- gdb/breakpoint.c	15 Nov 2007 06:52:53 -0000	1.281
+++ gdb/breakpoint.c	20 Nov 2007 08:15:29 -0000
@@ -4661,7 +4661,7 @@ disable_breakpoints_in_shlibs (void)
 /* Disable any breakpoints that are in in an unloaded shared library.  Only
    apply to enabled breakpoints, disabled ones can just stay disabled.  */
 
-void
+static void
 disable_breakpoints_in_unloaded_shlib (struct so_list *solib)
 {
   struct bp_location *loc;


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