diff --git a/gdb-6.3-dwattype0-20050201.patch b/gdb-6.3-dwattype0-20050201.patch index 323d813..3d299f6 100644 --- a/gdb-6.3-dwattype0-20050201.patch +++ b/gdb-6.3-dwattype0-20050201.patch @@ -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; diff --git a/gdb.spec b/gdb.spec index dfd8ce6..69286bc 100644 --- a/gdb.spec +++ b/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: 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 6.3.0.0-0.28 +* Tue Feb 22 2005 Andrew Cagney 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 6.3.0.0-0.28 - Back port patch adding symfile-mem.o to all GNU/Linux builds. Fix BZ 146087.