This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
build/2028: NEW_PROC_API is not enabled on sparc-sun-solaris2.10
- From: steve at telxio dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 4 Nov 2005 00:20:49 -0000
- Subject: build/2028: NEW_PROC_API is not enabled on sparc-sun-solaris2.10
- Reply-to: steve at telxio dot com
>Number: 2028
>Category: build
>Synopsis: NEW_PROC_API is not enabled on sparc-sun-solaris2.10
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Nov 04 00:28:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Steve Williams
>Release: 6.3
>Organization:
>Environment:
sparc-sun-solaris2.10
>Description:
The configure script only detects Solaris version 6-9 for enabling the new procfs api.
The patch is below.
>How-To-Repeat:
>Fix:
--- gdb-6.3/gdb/configure.in 2004-10-10 08:55:49.000000000 -0700
+++ gdb-6.3.p/gdb/configure.in 2005-10-28 16:37:45.775363000 -0700
@@ -387,7 +387,7 @@
# between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
# think that we don't have <curses.h> if we're using GCC.
case $host_os in
- solaris2.[[789]])
+ solaris2.[[789]]|solaris2.10)
if test "$GCC" = yes; then
AC_DEFINE(_MSE_INT_H, 1,
[[Define to 1 to avoid a clash between <widec.h> and <wchar.h> on
@@ -725,7 +725,7 @@
*-*-unixware* | *-*-sysv4.2* | *-*-sysv5* | *-*-interix* )
AC_DEFINE(NEW_PROC_API)
;;
- *-*-solaris2.[[6789]])
+ *-*-solaris2.[[6789]]|*-*-solaris2.10)
AC_DEFINE(NEW_PROC_API)
;;
mips-sgi-irix5*)
>Release-Note:
>Audit-Trail:
>Unformatted: