SF.net SVN: gar:[22981] csw/mgar/pkg/gdb/trunk

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Sun Feb 9 17:55:52 CET 2014


Revision: 22981
          http://sourceforge.net/p/gar/code/22981
Author:   pfelecan
Date:     2014-02-09 16:55:51 +0000 (Sun, 09 Feb 2014)
Log Message:
-----------
gdb/trunk: upstream version bump

Modified Paths:
--------------
    csw/mgar/pkg/gdb/trunk/Makefile
    csw/mgar/pkg/gdb/trunk/checksums
    csw/mgar/pkg/gdb/trunk/files/0002-OpenSolaris-gdb-fork-child.patch

Added Paths:
-----------
    csw/mgar/pkg/gdb/trunk/files/0004-cast-rlimit-infinity.patch

Modified: csw/mgar/pkg/gdb/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gdb/trunk/Makefile	2014-02-09 10:58:11 UTC (rev 22980)
+++ csw/mgar/pkg/gdb/trunk/Makefile	2014-02-09 16:55:51 UTC (rev 22981)
@@ -1,7 +1,7 @@
 # $Id$
 
 NAME = gdb
-VERSION = 7.6.2
+VERSION = 7.7
 GARTYPE = v2
 
 DESCRIPTION = The GNU Debugger
@@ -34,6 +34,8 @@
 # from private patch 4:
 PATCHFILES		+=	0003-Extend-to-OpenCSW-the-OpenSolaris-gdb-fork-child.patch
 
+PATCHFILES		+=	0004-cast-rlimit-infinity.patch
+
 GARCOMPILER		=	GNU
 
 PACKAGING_PLATFORMS	=	solaris10-sparc

Modified: csw/mgar/pkg/gdb/trunk/checksums
===================================================================
--- csw/mgar/pkg/gdb/trunk/checksums	2014-02-09 10:58:11 UTC (rev 22980)
+++ csw/mgar/pkg/gdb/trunk/checksums	2014-02-09 16:55:51 UTC (rev 22981)
@@ -1 +1 @@
-496399e96654fc0f899a5c964bc1f0f8  gdb-7.6.2.tar.bz2
+271a18f41858a7e98b28ae4eb91287c9  gdb-7.7.tar.bz2

Modified: csw/mgar/pkg/gdb/trunk/files/0002-OpenSolaris-gdb-fork-child.patch
===================================================================
--- csw/mgar/pkg/gdb/trunk/files/0002-OpenSolaris-gdb-fork-child.patch	2014-02-09 10:58:11 UTC (rev 22980)
+++ csw/mgar/pkg/gdb/trunk/files/0002-OpenSolaris-gdb-fork-child.patch	2014-02-09 16:55:51 UTC (rev 22981)
@@ -1,17 +1,17 @@
-From 8a377eecfc6cd2ee3fc1cf1cccc6614917306555 Mon Sep 17 00:00:00 2001
+From f661e528c55de3eb4ec1182c497c27a05f652d26 Mon Sep 17 00:00:00 2001
 From: Peter Felecan <pfelecan at opencsw.org>
-Date: Fri, 20 Jul 2012 15:56:22 +0200
+Date: Sun, 9 Feb 2014 15:26:06 +0100
 Subject: [PATCH] OpenSolaris gdb fork child
 
 ---
- gdb/fork-child.c |   37 +++++++++++++++++++++++++++++++++++++
+ gdb/fork-child.c | 37 +++++++++++++++++++++++++++++++++++++
  1 file changed, 37 insertions(+)
 
 diff --git a/gdb/fork-child.c b/gdb/fork-child.c
-index cba91f9..8a45a62 100644
+index 6c42d2e..2a749eb 100644
 --- a/gdb/fork-child.c
 +++ b/gdb/fork-child.c
-@@ -43,6 +43,16 @@ extern char **environ;
+@@ -42,6 +42,16 @@ extern char **environ;
  
  static char *exec_wrapper;
  
@@ -28,7 +28,7 @@
  /* Break up SCRATCH into an argument vector suitable for passing to
     execvp and store it in ARGV.  E.g., on "run a b c d" this routine
     would get as input the string "a b c d", and as output it would
-@@ -144,6 +154,8 @@ fork_inferior (char *exec_file_arg, char *allargs, char **env,
+@@ -143,6 +153,8 @@ fork_inferior (char *exec_file_arg, char *allargs, char **env,
    int i;
    int save_errno;
  
@@ -37,9 +37,9 @@
    /* If no exec file handed to us, get it from the exec-file command
       -- with a good, common error message if none is specified.  */
    exec_file = exec_file_arg;
-@@ -156,12 +168,34 @@ fork_inferior (char *exec_file_arg, char *allargs, char **env,
+@@ -155,12 +167,34 @@ fork_inferior (char *exec_file_arg, char *allargs, char **env,
    shell_file = shell_file_arg;
-   if (STARTUP_WITH_SHELL)
+   if (startup_with_shell)
      {
 +      /* Solaris only, is the shell a hard link to isaexec?  */
 +      struct stat buf1, buf2;
@@ -72,7 +72,7 @@
      }
  
    if (!shell)
-@@ -425,6 +459,9 @@ startup_inferior (int ntraps)
+@@ -429,6 +463,9 @@ startup_inferior (int ntraps)
    else
      resume_ptid = minus_one_ptid;
  
@@ -83,5 +83,5 @@
       have stopped one instruction after execing the shell.  Here we
       must get it up to actual execution of the real program.  */
 -- 
-1.7.10.3
+1.8.4.1
 

Added: csw/mgar/pkg/gdb/trunk/files/0004-cast-rlimit-infinity.patch
===================================================================
--- csw/mgar/pkg/gdb/trunk/files/0004-cast-rlimit-infinity.patch	                        (rev 0)
+++ csw/mgar/pkg/gdb/trunk/files/0004-cast-rlimit-infinity.patch	2014-02-09 16:55:51 UTC (rev 22981)
@@ -0,0 +1,25 @@
+From 462881f0945f43c07ba03fcd21d85ba2a0470ef2 Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Sun, 9 Feb 2014 17:10:23 +0100
+Subject: [PATCH] cast rlimit infinity
+
+---
+ bfd/cache.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bfd/cache.c b/bfd/cache.c
+index 4d46936..6d76131 100644
+--- a/bfd/cache.c
++++ b/bfd/cache.c
+@@ -82,7 +82,7 @@ bfd_cache_max_open (void)
+ #ifdef HAVE_GETRLIMIT
+       struct rlimit rlim;
+       if (getrlimit (RLIMIT_NOFILE, &rlim) == 0
+-	  && rlim.rlim_cur != RLIM_INFINITY)
++		  && rlim.rlim_cur != (unsigned long)RLIM_INFINITY)
+ 	max = rlim.rlim_cur / 8;
+       else
+ #endif /* HAVE_GETRLIMIT */
+-- 
+1.8.4.1
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list