rpms/gdb/devel gdb-6.3-type-punning-20060214.patch, 1.1, 1.2 gdb.spec, 1.170, 1.171

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Feb 14 20:48:27 UTC 2006


Author: aoliva

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

Modified Files:
	gdb-6.3-type-punning-20060214.patch gdb.spec 
Log Message:
* Tue Feb 14 2006 Alexandre Oliva <aoliva at redhat.com> - 6.3.0.0-1.103
- Adjust type-punning patch to include fix not needed upstream.


gdb-6.3-type-punning-20060214.patch:
 c-exp.c             |   19 ++-----------------
 c-exp.y             |   19 ++-----------------
 doublest.h          |    7 ++++++-
 jv-exp.c            |   19 ++-----------------
 jv-exp.y            |   19 ++-----------------
 objc-exp.c          |   19 ++-----------------
 objc-exp.y          |   19 ++-----------------
 p-exp.c             |   19 ++-----------------
 p-exp.y             |   19 ++-----------------
 tui/tui-data.c      |    6 +++---
 tui/tui-data.h      |    2 +-
 tui/tui-stack.c     |    4 ++--
 tui/tui-win.c       |   10 +++++-----
 tui/tui-winsource.c |    4 ++--
 varobj.c            |    4 ++--
 15 files changed, 37 insertions(+), 152 deletions(-)

Index: gdb-6.3-type-punning-20060214.patch
===================================================================
RCS file: /cvs/dist/rpms/gdb/devel/gdb-6.3-type-punning-20060214.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gdb-6.3-type-punning-20060214.patch	14 Feb 2006 19:40:14 -0000	1.1
+++ gdb-6.3-type-punning-20060214.patch	14 Feb 2006 20:48:24 -0000	1.2
@@ -10,6 +10,7 @@
 	* p-exp.y (parse_number): Likewise.
 	* c-exp.c, jv-exp.c, objc-exp.c, p-exp.c: Rebuilt.
 	* varobj.c (free_variable): Silence type-punning warnings.
+	(varobj_refresh): Likewise.
 	* tui/tui-data.h (struct tui_list): Change type of list member.
 	* tui/tui-data.c: Remove no-longer-needed type casts.
 	(source_windows): Silence type-punning warnings.
@@ -17,8 +18,8 @@
 
 Index: gdb-6.3/gdb/c-exp.y
 ===================================================================
---- gdb-6.3.orig/gdb/c-exp.y	2006-02-14 17:21:32.000000000 -0200
-+++ gdb-6.3/gdb/c-exp.y	2006-02-14 17:21:34.000000000 -0200
+--- gdb-6.3.orig/gdb/c-exp.y	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/c-exp.y	2006-02-14 17:29:22.000000000 -0200
 @@ -1075,23 +1075,8 @@ parse_number (p, len, parsed_float, puti
        char saved_char = p[len];
  
@@ -47,8 +48,8 @@
  	return ERROR;
 Index: gdb-6.3/gdb/jv-exp.y
 ===================================================================
---- gdb-6.3.orig/gdb/jv-exp.y	2006-02-14 17:21:32.000000000 -0200
-+++ gdb-6.3/gdb/jv-exp.y	2006-02-14 17:21:34.000000000 -0200
+--- gdb-6.3.orig/gdb/jv-exp.y	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/jv-exp.y	2006-02-14 17:29:22.000000000 -0200
 @@ -712,23 +712,8 @@ parse_number (p, len, parsed_float, puti
        char saved_char = p[len];
  
@@ -77,8 +78,8 @@
  	return ERROR;
 Index: gdb-6.3/gdb/objc-exp.y
 ===================================================================
---- gdb-6.3.orig/gdb/objc-exp.y	2006-02-14 17:21:32.000000000 -0200
-+++ gdb-6.3/gdb/objc-exp.y	2006-02-14 17:21:34.000000000 -0200
+--- gdb-6.3.orig/gdb/objc-exp.y	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/objc-exp.y	2006-02-14 17:29:22.000000000 -0200
 @@ -1025,23 +1025,8 @@ parse_number (p, len, parsed_float, puti
  
        /* It's a float since it contains a point or an exponent.  */
@@ -107,8 +108,8 @@
  
 Index: gdb-6.3/gdb/p-exp.y
 ===================================================================
---- gdb-6.3.orig/gdb/p-exp.y	2006-02-14 17:21:32.000000000 -0200
-+++ gdb-6.3/gdb/p-exp.y	2006-02-14 17:21:34.000000000 -0200
+--- gdb-6.3.orig/gdb/p-exp.y	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/p-exp.y	2006-02-14 17:29:22.000000000 -0200
 @@ -798,23 +798,8 @@ parse_number (p, len, parsed_float, puti
        char saved_char = p[len];
  
@@ -137,8 +138,17 @@
  	return ERROR;
 Index: gdb-6.3/gdb/varobj.c
 ===================================================================
---- gdb-6.3.orig/gdb/varobj.c	2006-02-14 17:21:32.000000000 -0200
-+++ gdb-6.3/gdb/varobj.c	2006-02-14 17:21:34.000000000 -0200
+--- gdb-6.3.orig/gdb/varobj.c	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/varobj.c	2006-02-14 18:21:34.000000000 -0200
+@@ -866,7 +866,7 @@ varobj_refresh (void)
+       /* Get rid of the memory for the old expression.  This also
+          leaves var->root->exp == NULL, which is ok for the parsing
+          below.  */
+-      free_current_contents ((char **) &var->root->exp);
++      free_current_contents (&var->root->exp);
+                                                                                 
+       value_free (var->value);
+       var->type = NULL;
 @@ -1410,7 +1410,7 @@ free_variable (struct varobj *var)
    /* Free the expression if this is a root variable. */
    if (var->root->rootvar == var)
@@ -150,8 +160,8 @@
  
 Index: gdb-6.3/gdb/doublest.h
 ===================================================================
---- gdb-6.3.orig/gdb/doublest.h	2006-02-14 17:21:32.000000000 -0200
-+++ gdb-6.3/gdb/doublest.h	2006-02-14 17:21:34.000000000 -0200
+--- gdb-6.3.orig/gdb/doublest.h	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/doublest.h	2006-02-14 17:29:22.000000000 -0200
 @@ -48,10 +48,15 @@ struct floatformat;
     host's `long double'.  In general, we'll probably reduce the precision of
     any such values and print a warning.  */
@@ -171,8 +181,8 @@
  extern void floatformat_to_doublest (const struct floatformat *,
 Index: gdb-6.3/gdb/tui/tui-data.c
 ===================================================================
---- gdb-6.3.orig/gdb/tui/tui-data.c	2006-02-14 17:21:32.000000000 -0200
-+++ gdb-6.3/gdb/tui/tui-data.c	2006-02-14 17:21:34.000000000 -0200
+--- gdb-6.3.orig/gdb/tui/tui-data.c	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/tui/tui-data.c	2006-02-14 17:29:22.000000000 -0200
 @@ -44,7 +44,7 @@ static int term_height, term_width;
  static struct tui_gen_win_info _locator;
  static struct tui_gen_win_info exec_info[2];
@@ -202,8 +212,8 @@
  	{
 Index: gdb-6.3/gdb/tui/tui-data.h
 ===================================================================
---- gdb-6.3.orig/gdb/tui/tui-data.h	2006-02-14 17:21:32.000000000 -0200
-+++ gdb-6.3/gdb/tui/tui-data.h	2006-02-14 17:21:34.000000000 -0200
+--- gdb-6.3.orig/gdb/tui/tui-data.h	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/tui/tui-data.h	2006-02-14 17:29:22.000000000 -0200
 @@ -110,7 +110,7 @@ enum tui_scroll_direction
  /* General list struct.  */
  struct tui_list
@@ -215,8 +225,8 @@
  
 Index: gdb-6.3/gdb/tui/tui-stack.c
 ===================================================================
---- gdb-6.3.orig/gdb/tui/tui-stack.c	2006-02-14 17:21:32.000000000 -0200
-+++ gdb-6.3/gdb/tui/tui-stack.c	2006-02-14 17:21:34.000000000 -0200
+--- gdb-6.3.orig/gdb/tui/tui-stack.c	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/tui/tui-stack.c	2006-02-14 17:29:22.000000000 -0200
 @@ -343,7 +343,7 @@ tui_show_frame_info (struct frame_info *
        for (i = 0; i < (tui_source_windows ())->count; i++)
  	{
@@ -237,8 +247,8 @@
  	}
 Index: gdb-6.3/gdb/tui/tui-win.c
 ===================================================================
---- gdb-6.3.orig/gdb/tui/tui-win.c	2006-02-14 17:21:32.000000000 -0200
-+++ gdb-6.3/gdb/tui/tui-win.c	2006-02-14 17:21:34.000000000 -0200
+--- gdb-6.3.orig/gdb/tui/tui-win.c	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/tui/tui-win.c	2006-02-14 17:29:22.000000000 -0200
 @@ -1088,7 +1088,7 @@ tui_adjust_win_heights (struct tui_win_i
  	      make_invisible_and_set_new_height (primary_win_info, new_height);
  	      if (primary_win_info->generic.type == CMD_WIN)
@@ -286,8 +296,8 @@
      }
 Index: gdb-6.3/gdb/tui/tui-winsource.c
 ===================================================================
---- gdb-6.3.orig/gdb/tui/tui-winsource.c	2006-02-14 17:21:32.000000000 -0200
-+++ gdb-6.3/gdb/tui/tui-winsource.c	2006-02-14 17:21:34.000000000 -0200
+--- gdb-6.3.orig/gdb/tui/tui-winsource.c	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/tui/tui-winsource.c	2006-02-14 17:29:22.000000000 -0200
 @@ -158,7 +158,7 @@ tui_update_source_windows_with_addr (COR
  
        for (i = 0; i < (tui_source_windows ())->count; i++)
@@ -308,8 +318,8 @@
          {
 Index: gdb-6.3/gdb/c-exp.c
 ===================================================================
---- gdb-6.3.orig/gdb/c-exp.c	2004-11-08 14:25:35.000000000 -0200
-+++ gdb-6.3/gdb/c-exp.c	2006-02-14 17:29:08.000000000 -0200
+--- gdb-6.3.orig/gdb/c-exp.c	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/c-exp.c	2006-02-14 17:29:22.000000000 -0200
 @@ -2727,23 +2727,8 @@ parse_number (p, len, parsed_float, puti
        char saved_char = p[len];
  
@@ -338,8 +348,8 @@
  	return ERROR;
 Index: gdb-6.3/gdb/jv-exp.c
 ===================================================================
---- gdb-6.3.orig/gdb/jv-exp.c	2004-11-08 14:25:38.000000000 -0200
-+++ gdb-6.3/gdb/jv-exp.c	2006-02-14 17:29:08.000000000 -0200
+--- gdb-6.3.orig/gdb/jv-exp.c	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/jv-exp.c	2006-02-14 17:29:22.000000000 -0200
 @@ -2099,23 +2099,8 @@ parse_number (p, len, parsed_float, puti
        char saved_char = p[len];
  
@@ -368,8 +378,8 @@
  	return ERROR;
 Index: gdb-6.3/gdb/objc-exp.c
 ===================================================================
---- gdb-6.3.orig/gdb/objc-exp.c	2004-11-08 14:25:36.000000000 -0200
-+++ gdb-6.3/gdb/objc-exp.c	2006-02-14 17:29:08.000000000 -0200
+--- gdb-6.3.orig/gdb/objc-exp.c	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/objc-exp.c	2006-02-14 17:29:22.000000000 -0200
 @@ -2688,23 +2688,8 @@ parse_number (p, len, parsed_float, puti
  
        /* It's a float since it contains a point or an exponent.  */
@@ -398,8 +408,8 @@
  
 Index: gdb-6.3/gdb/p-exp.c
 ===================================================================
---- gdb-6.3.orig/gdb/p-exp.c	2004-11-08 14:25:41.000000000 -0200
-+++ gdb-6.3/gdb/p-exp.c	2006-02-14 17:29:08.000000000 -0200
+--- gdb-6.3.orig/gdb/p-exp.c	2006-02-14 17:29:17.000000000 -0200
++++ gdb-6.3/gdb/p-exp.c	2006-02-14 17:29:22.000000000 -0200
 @@ -2141,23 +2141,8 @@ parse_number (p, len, parsed_float, puti
        char saved_char = p[len];
  


Index: gdb.spec
===================================================================
RCS file: /cvs/dist/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -r1.170 -r1.171
--- gdb.spec	14 Feb 2006 19:40:14 -0000	1.170
+++ gdb.spec	14 Feb 2006 20:48:24 -0000	1.171
@@ -11,7 +11,7 @@
 Version: 6.3.0.0
 
 # The release always contains a leading reserved number, start it at 0.
-Release: 1.102
+Release: 1.103
 
 License: GPL
 Group: Development/Debuggers
@@ -536,6 +536,12 @@
 # don't include the files in include, they are part of binutils
 
 %changelog
+* Tue Feb 14 2006 Alexandre Oliva <aoliva at redhat.com> - 6.3.0.0-1.106
+- Bump up release number.
+
+* Tue Feb 14 2006 Alexandre Oliva <aoliva at redhat.com> - 6.3.0.0-1.103
+- Adjust type-punning patch to include fix not needed upstream.
+
 * Tue Feb 14 2006 Alexandre Oliva <aoliva at redhat.com> - 6.3.0.0-1.102
 - Bump up release number.
 




More information about the fedora-cvs-commits mailing list