From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23268 invoked by alias); 29 Jan 2004 14:01:58 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 23260 invoked from network); 29 Jan 2004 14:01:56 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 29 Jan 2004 14:01:56 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id EE2862B8F; Thu, 29 Jan 2004 08:58:28 -0500 (EST) Message-ID: <40191184.3080908@gnu.org> Date: Thu, 29 Jan 2004 14:01:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Roland McGrath Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] solaris9 procfs cleanups References: <200401290034.i0T0YSM0017092@magilla.sf.frob.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-01/txt/msg00739.txt.bz2 > I included these changes with a feature patch that is not ready to go in. > But these are just unrelated fixes and should not wait for that other code. > I really think these are obviously correct for using gdb on Solaris 9. > Can they go in? Yes, but include "gdb_string.h" instead of (which meas also tweaking Makefile.in). Andrew > 2004-01-21 Roland McGrath > > * configure.in (NEW_PROC_API): Also match solaris2.9 for this test. > > * procfs.c: Include for str* decls, otherwise warnings. > > Index: gdb/configure.in > =================================================================== > RCS file: /cvs/src/src/gdb/configure.in,v > retrieving revision 1.140 > diff -b -p -u -r1.140 configure.in > --- gdb/configure.in 20 Jan 2004 09:29:16 -0000 1.140 > +++ gdb/configure.in 29 Jan 2004 00:32:25 -0000 > @@ -623,7 +623,7 @@ if test "${target}" = "${host}"; then > *-*-unixware* | *-*-sysv4.2* | *-*-sysv5* | *-*-interix* ) > AC_DEFINE(NEW_PROC_API) > ;; > - *-*-solaris2.[[678]]) > + *-*-solaris2.[[6789]]) > AC_DEFINE(NEW_PROC_API) > ;; > esac > Index: gdb/procfs.c > =================================================================== > RCS file: /cvs/src/src/gdb/procfs.c,v > retrieving revision 1.50 > diff -b -p -u -r1.50 procfs.c > --- gdb/procfs.c 17 Jan 2004 18:24:15 -0000 1.50 > +++ gdb/procfs.c 29 Jan 2004 00:32:26 -0000 > @@ -45,6 +45,7 @@ Inc., 59 Temple Place - Suite 330, Bosto > #include "gdb_wait.h" > #include > #include > +#include > #include "gdb_assert.h" > #include "inflow.h" > >