From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24720 invoked by alias); 22 May 2007 23:01:53 -0000 Received: (qmail 24710 invoked by uid 22791); 22 May 2007 23:01:51 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 22 May 2007 23:01:48 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id E718A48CE0E for ; Tue, 22 May 2007 19:01:46 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15644-01-3 for ; Tue, 22 May 2007 19:01:46 -0400 (EDT) Received: from joel.gnat.com (S0106000f3d96cb6d.vc.shawcable.net [24.85.42.33]) by nile.gnat.com (Postfix) with ESMTP id 4D0AC48CE0F for ; Tue, 22 May 2007 18:58:57 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 405D8E7B4F; Tue, 22 May 2007 15:59:40 -0700 (PDT) Date: Tue, 22 May 2007 23:01:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [RFA] Remove solib-svr4.c warning Message-ID: <20070522225940.GC3710@adacore.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="huq684BweRXVnRxX" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00356.txt.bz2 --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 354 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 * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning. Tested on x86-linux, no regression. OK to commit? Thanks, -- Joel --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="solib-warning.diff" Content-length: 570 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; --huq684BweRXVnRxX--