Share DLL code between gdb and gdbserver
[deliverable/binutils-gdb.git] / gdb / target.c
index 995e7ef1dac174405cb25005fdd63620025a8a22..1f0741471d829294ddbbca17c55ac564908b305e 100644 (file)
@@ -2699,7 +2699,7 @@ target_program_signals (gdb::array_view<const unsigned char> program_signals)
   current_inferior ()->top_target ()->program_signals (program_signals);
 }
 
-static bool
+static void
 default_follow_fork (struct target_ops *self, bool follow_child,
                     bool detach_fork)
 {
@@ -2708,10 +2708,9 @@ default_follow_fork (struct target_ops *self, bool follow_child,
                  _("could not find a target to follow fork"));
 }
 
-/* Look through the list of possible targets for a target that can
-   follow forks.  */
+/* See target.h.  */
 
-bool
+void
 target_follow_fork (bool follow_child, bool detach_fork)
 {
   target_ops *target = current_inferior ()->top_target ();
This page took 0.124143 seconds and 4 git commands to generate.