rpms/gdb/FC-4 gdb-6.3-support-fopen64-20060413.patch, 1.1, 1.2 gdb.spec, 1.177, 1.178

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed May 17 13:59:49 UTC 2006


Author: aoliva

Update of /cvs/dist/rpms/gdb/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv18712/gdb-FC-4

Modified Files:
	gdb-6.3-support-fopen64-20060413.patch gdb.spec 
Log Message:
* Wed May 17 2006 Alexandre Oliva <aoliva at redhat.com> - 6.3.0.0-1.129
- Add not-automatically-generated file to fopen64 patch (BZ 191948).


gdb-6.3-support-fopen64-20060413.patch:
 bfdio.c      |   10 ++++++++++
 cache.c      |    8 ++++----
 config.in    |    3 +++
 configure    |    2 +-
 configure.in |    2 +-
 libbfd-in.h  |    1 +
 libbfd.h     |    1 +
 opncls.c     |    4 ++--
 8 files changed, 23 insertions(+), 8 deletions(-)

Index: gdb-6.3-support-fopen64-20060413.patch
===================================================================
RCS file: /cvs/dist/rpms/gdb/FC-4/gdb-6.3-support-fopen64-20060413.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gdb-6.3-support-fopen64-20060413.patch	14 Apr 2006 05:52:54 -0000	1.1
+++ gdb-6.3-support-fopen64-20060413.patch	17 May 2006 13:59:46 -0000	1.2
@@ -1,6 +1,8 @@
---- gdb-6.3/bfd/opncls.c.it89056	2006-03-06 14:09:12.083254416 +0900
-+++ gdb-6.3/bfd/opncls.c	2006-03-06 14:25:16.418653152 +0900
-@@ -237,7 +237,7 @@
+Index: gdb-6.3/bfd/opncls.c
+===================================================================
+--- gdb-6.3.orig/bfd/opncls.c	2006-04-14 03:22:48.000000000 -0300
++++ gdb-6.3/bfd/opncls.c	2006-04-14 03:22:51.000000000 -0300
+@@ -237,7 +237,7 @@ bfd_fdopenr (const char *filename, const
      }
  
  #ifndef HAVE_FDOPEN
@@ -9,7 +11,7 @@
  #else
    /* (O_ACCMODE) parens are to avoid Ultrix header file bug.  */
    switch (fdflags & (O_ACCMODE))
-@@ -1353,7 +1353,7 @@
+@@ -1353,7 +1353,7 @@ bfd_fill_in_gnu_debuglink_section (bfd *
       .gnu_debuglink section, we insist upon the user providing us with a
       correct-for-section-creation-time path, but this need not conform to
       the gdb location algorithm.  */
@@ -18,9 +20,11 @@
    if (handle == NULL)
      {
        bfd_set_error (bfd_error_system_call);
---- gdb-6.3/bfd/cache.c.it89056	2006-03-06 14:28:30.916085048 +0900
-+++ gdb-6.3/bfd/cache.c	2006-03-06 14:28:07.523641240 +0900
-@@ -400,15 +400,15 @@
+Index: gdb-6.3/bfd/cache.c
+===================================================================
+--- gdb-6.3.orig/bfd/cache.c	2004-06-17 08:55:02.000000000 -0300
++++ gdb-6.3/bfd/cache.c	2006-04-14 03:22:51.000000000 -0300
+@@ -400,15 +400,15 @@ bfd_open_file (bfd *abfd)
      {
      case read_direction:
      case no_direction:
@@ -39,7 +43,7 @@
  	}
        else
  	{
-@@ -438,7 +438,7 @@
+@@ -438,7 +438,7 @@ bfd_open_file (bfd *abfd)
  	  if (stat (abfd->filename, &s) == 0 && s.st_size != 0)
  	    unlink (abfd->filename);
  #endif
@@ -48,9 +52,11 @@
  	  abfd->opened_once = TRUE;
  	}
        break;
---- gdb-6.3/bfd/configure.in.it89056	2006-03-06 14:28:59.947671576 +0900
-+++ gdb-6.3/bfd/configure.in	2006-03-06 14:29:49.606122344 +0900
-@@ -910,7 +910,7 @@
+Index: gdb-6.3/bfd/configure.in
+===================================================================
+--- gdb-6.3.orig/bfd/configure.in	2004-10-08 11:53:59.000000000 -0300
++++ gdb-6.3/bfd/configure.in	2006-04-14 03:22:51.000000000 -0300
+@@ -910,7 +910,7 @@ AC_SUBST(bfd_default_target_size)
  # fseeko, long.  This assumes that sizeof off_t is .ge. sizeof long.
  # Hopefully a reasonable assumption since fseeko et.al. should be
  # upward compatible.
@@ -59,9 +65,11 @@
  if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
      AC_COMPILE_CHECK_SIZEOF(off_t)
  fi
---- gdb-6.3/bfd/libbfd-in.h.it89056	2006-03-06 14:08:31.572413000 +0900
-+++ gdb-6.3/bfd/libbfd-in.h	2006-03-06 14:09:03.867503400 +0900
-@@ -626,6 +626,7 @@
+Index: gdb-6.3/bfd/libbfd-in.h
+===================================================================
+--- gdb-6.3.orig/bfd/libbfd-in.h	2006-04-14 03:22:48.000000000 -0300
++++ gdb-6.3/bfd/libbfd-in.h	2006-04-14 03:22:51.000000000 -0300
+@@ -626,6 +626,7 @@ extern void _bfd_abort
     the system "off_t" or "off64_t", as the offset.  */
  extern file_ptr real_ftell (FILE *file);
  extern int real_fseek (FILE *file, file_ptr offset, int whence);
@@ -69,9 +77,11 @@
  
  FILE *	bfd_cache_lookup_worker
    (bfd *);
---- gdb-6.3/bfd/bfdio.c.it89056	2006-03-06 14:26:57.449294160 +0900
-+++ gdb-6.3/bfd/bfdio.c	2006-03-06 14:27:06.755879344 +0900
-@@ -62,6 +62,16 @@
+Index: gdb-6.3/bfd/bfdio.c
+===================================================================
+--- gdb-6.3.orig/bfd/bfdio.c	2004-05-21 10:12:27.000000000 -0300
++++ gdb-6.3/bfd/bfdio.c	2006-04-14 03:22:51.000000000 -0300
+@@ -62,6 +62,16 @@ real_fseek (FILE *file, file_ptr offset,
  #endif
  }
  
@@ -88,8 +98,10 @@
  /*
  INTERNAL_DEFINITION
  	struct bfd_iovec
---- gdb-6.3/bfd/config.in.it89056	2006-03-06 16:17:59.190555552 +0900
-+++ gdb-6.3/bfd/config.in	2006-03-06 16:19:13.888199784 +0900
+Index: gdb-6.3/bfd/config.in
+===================================================================
+--- gdb-6.3.orig/bfd/config.in	2004-08-30 15:58:13.000000000 -0300
++++ gdb-6.3/bfd/config.in	2006-04-14 03:22:51.000000000 -0300
 @@ -37,6 +37,9 @@
  /* Define to 1 if you have the `fdopen' function. */
  #undef HAVE_FDOPEN
@@ -100,9 +112,11 @@
  /* Define to 1 if you have the `fseeko' function. */
  #undef HAVE_FSEEKO
  
---- gdb-6.3/bfd/configure.it89056	2006-03-06 16:31:05.844965904 +0900
-+++ gdb-6.3/bfd/configure	2006-03-06 16:31:23.721248296 +0900
-@@ -11885,7 +11885,7 @@
+Index: gdb-6.3/bfd/configure
+===================================================================
+--- gdb-6.3.orig/bfd/configure	2004-10-08 11:53:56.000000000 -0300
++++ gdb-6.3/bfd/configure	2006-04-14 03:22:51.000000000 -0300
+@@ -11885,7 +11885,7 @@ esac
  
  
  
@@ -111,3 +125,15 @@
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  echo "$as_me:$LINENO: checking for $ac_func" >&5
+Index: gdb-6.3/bfd/libbfd.h
+===================================================================
+--- gdb-6.3.orig/bfd/libbfd.h	2006-05-17 10:51:34.000000000 -0300
++++ gdb-6.3/bfd/libbfd.h	2006-05-17 10:51:51.000000000 -0300
+@@ -631,6 +631,7 @@ extern void _bfd_abort
+    the system "off_t" or "off64_t", as the offset.  */
+ extern file_ptr real_ftell (FILE *file);
+ extern int real_fseek (FILE *file, file_ptr offset, int whence);
++extern FILE *real_fopen (const char *filename, const char *modes);
+ 
+ FILE *	bfd_cache_lookup_worker
+   (bfd *);


Index: gdb.spec
===================================================================
RCS file: /cvs/dist/rpms/gdb/FC-4/gdb.spec,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -r1.177 -r1.178
--- gdb.spec	14 Apr 2006 07:05:50 -0000	1.177
+++ gdb.spec	17 May 2006 13:59:46 -0000	1.178
@@ -11,7 +11,7 @@
 Version: 6.3.0.0
 
 # The release always contains a leading reserved number, start it at 0.
-Release: 1.128.FC4
+Release: 1.129.FC4
 
 License: GPL
 Group: Development/Debuggers
@@ -566,6 +566,9 @@
 # don't include the files in include, they are part of binutils
 
 %changelog
+* Wed May 17 2006 Alexandre Oliva <aoliva at redhat.com> - 6.3.0.0-1.129
+- Add not-automatically-generated file to fopen64 patch (BZ 191948).
+
 * Fri Apr 14 2006 Alexandre Oliva <aoliva at redhat.com> - 6.3.0.0-1.128
 - Avoid race conditions caused by exceptions messing with signal masks.
 (BZ 175270, BZ 175083, maybe BZ 172938).




More information about the fedora-cvs-commits mailing list