Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: [RFA] Remove solib-svr4.c warning
Date: Tue, 22 May 2007 23:01:00 -0000	[thread overview]
Message-ID: <20070522225940.GC3710@adacore.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

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

[-- Attachment #2: solib-warning.diff --]
[-- Type: text/plain, Size: 570 bytes --]

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;

             reply	other threads:[~2007-05-22 23:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-22 23:01 Joel Brobecker [this message]
2007-05-31 11:09 ` Kevin Buettner
2007-05-31  1:29   ` Kevin Buettner
2007-06-01 14:25   ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070522225940.GC3710@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox