- Modify gdb-6.3-dwattype0-20050201.patch to check for a zero address and

not zero unsnd. Fix BE 32- vs 64-bit problem.
This commit is contained in:
cagney 2005-02-22 17:34:05 +00:00
parent 49d82ff464
commit 367b952805
2 changed files with 7 additions and 3 deletions

View File

@ -9,7 +9,7 @@
/* A missing DW_AT_type represents a void type. */
return dwarf2_fundamental_type (cu->objfile, FT_VOID, cu);
}
+ else if (type_attr->u.unsnd == 0)
+ else if (DW_ADDR (type_attr) == 0)
+ /* If we have an invalid reference to 0, ignore it and treat
+ the type as unknown. */
+ return builtin_type_error;

View File

@ -11,7 +11,7 @@ Name: gdb
Version: 6.3.0.0
# The release always contains a leading reserved number, start it at 0.
Release: 0.28
Release: 0.29
License: GPL
Group: Development/Debuggers
@ -434,7 +434,11 @@ fi
# don't include the files in include, they are part of binutils
%changelog
* Mon Feb 20 2005 Andrew Cagney <cagney@redhat.com> 6.3.0.0-0.28
* Tue Feb 22 2005 Andrew Cagney <cagney@redhat.com> 6.3.0.0-0.29
- Modify gdb-6.3-dwattype0-20050201.patch to check for a zero address
and not zero unsnd. Fix BE 32- vs 64-bit problem.
* Mon Feb 21 2005 Andrew Cagney <cagney@redhat.com> 6.3.0.0-0.28
- Back port patch adding symfile-mem.o to all GNU/Linux builds.
Fix BZ 146087.