[RFA] Remove solib-svr4.c warning

Joel Brobecker brobecker@adacore.com
Tue May 22 23:01:00 GMT 2007


Hello,

As suggested by:

  http://www.sourceware.org/ml/gdb-patches/2007-05/msg00198.html

This patch removes a warning that was deemed as not very useful.

2007-05-22  Joel Brobecker  <brobecker@adacore.com>

        * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning.

Tested on x86-linux, no regression.
OK to commit?

Thanks,
-- 
Joel
-------------- next part --------------
Index: solib-svr4.c
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.c,v
retrieving revision 1.65
diff -u -p -r1.65 solib-svr4.c
--- solib-svr4.c	16 May 2007 14:07:55 -0000	1.65
+++ solib-svr4.c	22 May 2007 22:19:27 -0000
@@ -1348,11 +1348,7 @@ svr4_solib_create_inferior_hook (void)
   svr4_relocate_main_executable ();
 
   if (!svr4_have_link_map_offsets ())
-    {
-      warning (_("no shared library support for this OS / ABI"));
-      return;
-
-    }
+    return;
 
   if (!enable_break ())
     return;


More information about the Gdb-patches mailing list