From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28632 invoked by alias); 29 Jan 2004 00:34:31 -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 28587 invoked from network); 29 Jan 2004 00:34:30 -0000 Received: from unknown (HELO gateway.sf.frob.com) (64.81.54.130) by sources.redhat.com with SMTP; 29 Jan 2004 00:34:30 -0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id BCE32357B; Wed, 28 Jan 2004 16:34:28 -0800 (PST) Received: from magilla.sf.frob.com (localhost.localdomain [127.0.0.1]) by magilla.sf.frob.com (8.12.9/8.12.9) with ESMTP id i0T0YSOi017096; Wed, 28 Jan 2004 16:34:28 -0800 Received: (from roland@localhost) by magilla.sf.frob.com (8.12.9/8.12.9/Submit) id i0T0YSM0017092; Wed, 28 Jan 2004 16:34:28 -0800 Date: Thu, 29 Jan 2004 00:34:00 -0000 Message-Id: <200401290034.i0T0YSM0017092@magilla.sf.frob.com> From: Roland McGrath To: gdb-patches@sources.redhat.com Subject: [PATCH] solaris9 procfs cleanups X-Shopping-List: (1) Dramatic ambition (2) Euphoric pancakes (3) Bucolic erratic winch admonishers (4) Baltic Load animals (5) Flying impatient capture porno X-SW-Source: 2004-01/txt/msg00729.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? Thanks, Roland 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"