- Bump up release number.
Thu Mar 24 2005 Jeff Johnston <jjohnstn@redhat.com> 6.3.0.0-1.4 - Fix printing of inherited members of C++ classes. - Fix for Bugzilla 146835.
This commit is contained in:
parent
8898d54c59
commit
2b9b6c13e2
31
gdb-6.3-inheritance-20050324.patch
Normal file
31
gdb-6.3-inheritance-20050324.patch
Normal file
@ -0,0 +1,31 @@
|
||||
2005-03-24 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* valops.c (check_field_in): Use check_typedef for base classes
|
||||
to avoid problems with opaque type references.
|
||||
|
||||
--- gdb-6.3/gdb/valops.c.fix 2005-03-24 19:07:09.000000000 -0500
|
||||
+++ gdb-6.3/gdb/valops.c 2005-03-24 19:08:31.000000000 -0500
|
||||
@@ -1,6 +1,6 @@
|
||||
/* Perform non-arithmetic operations on values, for GDB.
|
||||
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
|
||||
- 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
||||
+ 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
@@ -2315,8 +2315,13 @@ check_field_in (struct type *type, const
|
||||
}
|
||||
|
||||
for (i = TYPE_N_BASECLASSES (type) - 1; i >= 0; i--)
|
||||
- if (check_field_in (TYPE_BASECLASS (type, i), name))
|
||||
- return 1;
|
||||
+ {
|
||||
+ /* Check the base classes. Make sure we have the real type for
|
||||
+ each base class as opposed to an opaque declaration. */
|
||||
+ struct type *baseclass = check_typedef (TYPE_BASECLASS (type, i));
|
||||
+ if (check_field_in (baseclass, name))
|
||||
+ return 1;
|
||||
+ }
|
||||
|
||||
return 0;
|
||||
}
|
13
gdb.spec
13
gdb.spec
@ -11,7 +11,7 @@ Name: gdb
|
||||
Version: 6.3.0.0
|
||||
|
||||
# The release always contains a leading reserved number, start it at 0.
|
||||
Release: 1.3
|
||||
Release: 1.6
|
||||
|
||||
License: GPL
|
||||
Group: Development/Debuggers
|
||||
@ -198,6 +198,9 @@ Patch146: gdb-6.3-follow-vfork-20050303.patch
|
||||
# Fix unexpected compiler warning messages.
|
||||
Patch147: gdb-6.3-warnings-20050317.patch
|
||||
|
||||
# Fix printing of inherited members
|
||||
Patch148: gdb-6.3-inheritance-20050324.patch
|
||||
|
||||
%ifarch ia64
|
||||
BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo dejagnu libunwind >= 0.96-3
|
||||
%else
|
||||
@ -278,6 +281,7 @@ and printing their data.
|
||||
%patch145 -p1
|
||||
%patch146 -p1
|
||||
%patch147 -p1
|
||||
%patch148 -p1
|
||||
|
||||
# Change the version that gets printed at GDB startup, so it is RedHat
|
||||
# specific.
|
||||
@ -446,6 +450,13 @@ fi
|
||||
# don't include the files in include, they are part of binutils
|
||||
|
||||
%changelog
|
||||
* Thu Mar 24 2005 Jeff Johnston <jjohnstn@redhat.com> 6.3.0.0-1.6
|
||||
- Bump up release number.
|
||||
|
||||
* Thu Mar 24 2005 Jeff Johnston <jjohnstn@redhat.com> 6.3.0.0-1.4
|
||||
- Fix printing of inherited members of C++ classes.
|
||||
- Fix for Bugzilla 146835.
|
||||
|
||||
* Tue Mar 22 2005 Jeff Johnston <jjohnstn@redhat.com> 6.3.0.0-1.3
|
||||
- Bump up release number.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user