]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.3-bz231832-obstack-2gb.patch
- updated to gdb-7.4.50.20120120.
[packages/gdb.git] / gdb-6.3-bz231832-obstack-2gb.patch
index 38742cd085fc55b6e1f8da78520cebf1047114ba..0b08cee7a97a6a03579f355cb10984025bc2847f 100644 (file)
@@ -1,11 +1,11 @@
 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=231832
 
 
-Index: gdb-7.2.50.20101116/gdb/symmisc.c
+Index: gdb-7.4.50.20111218/gdb/symmisc.c
 ===================================================================
---- gdb-7.2.50.20101116.orig/gdb/symmisc.c     2010-11-16 07:53:59.000000000 +0100
-+++ gdb-7.2.50.20101116/gdb/symmisc.c  2010-11-16 08:03:08.000000000 +0100
-@@ -186,8 +186,8 @@ print_objfile_statistics (void)
+--- gdb-7.4.50.20111218.orig/gdb/symmisc.c     2011-04-04 17:19:59.000000000 +0200
++++ gdb-7.4.50.20111218/gdb/symmisc.c  2011-12-19 00:28:18.189232014 +0100
+@@ -147,8 +147,8 @@ print_objfile_statistics (void)
      if (OBJSTAT (objfile, sz_strtab) > 0)
        printf_filtered (_("  Space used by a.out string tables: %d\n"),
                       OBJSTAT (objfile, sz_strtab));
@@ -16,10 +16,10 @@ Index: gdb-7.2.50.20101116/gdb/symmisc.c
      printf_filtered (_("  Total memory used for psymbol cache: %d\n"),
                     bcache_memory_used (psymbol_bcache_get_bcache
                                          (objfile->psymbol_cache)));
-Index: gdb-7.2.50.20101116/include/obstack.h
+Index: gdb-7.4.50.20111218/include/obstack.h
 ===================================================================
---- gdb-7.2.50.20101116.orig/include/obstack.h 2008-10-21 01:03:31.000000000 +0200
-+++ gdb-7.2.50.20101116/include/obstack.h      2010-11-16 08:02:37.000000000 +0100
+--- gdb-7.4.50.20111218.orig/include/obstack.h 2011-10-22 03:35:29.000000000 +0200
++++ gdb-7.4.50.20111218/include/obstack.h      2011-12-19 00:28:18.189232014 +0100
 @@ -188,31 +188,31 @@ struct obstack           /* control current objec
  
  /* Declare the external functions we use; they are in obstack.c.  */
@@ -125,19 +125,10 @@ Index: gdb-7.2.50.20101116/include/obstack.h
     if (__o->chunk_limit - __o->next_free < __len)                     \
       _obstack_newchunk (__o, __len);                                  \
     obstack_blank_fast (__o, __len);                                   \
-@@ -532,7 +532,7 @@ __extension__                                                              \
- # define obstack_free(h,obj)                                          \
- ( (h)->temp = (char *) (obj) - (char *) (h)->chunk,                   \
-   (((h)->temp > 0 && (h)->temp < (h)->chunk_limit - (char *) (h)->chunk)\
--   ? (int) ((h)->next_free = (h)->object_base                         \
-+   ? (PTR_INT_TYPE) ((h)->next_free = (h)->object_base                        \
-           = (h)->temp + (char *) (h)->chunk)                          \
-    : (((obstack_free) ((h), (h)->temp + (char *) (h)->chunk), 0), 0)))
-Index: gdb-7.2.50.20101116/libiberty/obstack.c
+Index: gdb-7.4.50.20111218/libiberty/obstack.c
 ===================================================================
---- gdb-7.2.50.20101116.orig/libiberty/obstack.c       2005-05-10 17:33:33.000000000 +0200
-+++ gdb-7.2.50.20101116/libiberty/obstack.c    2010-11-16 08:02:37.000000000 +0100
+--- gdb-7.4.50.20111218.orig/libiberty/obstack.c       2005-05-10 17:33:33.000000000 +0200
++++ gdb-7.4.50.20111218/libiberty/obstack.c    2011-12-19 00:28:18.191232006 +0100
 @@ -44,9 +44,11 @@
  #if !defined (_LIBC) && defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1
  #include <gnu-versions.h>
This page took 0.054921 seconds and 4 git commands to generate.