- Drop gdb-6.3-terminal-fix-20050214.patch: The bug is not reproducible. - Drop gdb-6.7-kernel-headers-compat.patch: kernel-headers seem to be fixed. - Drop gdb-archer-ada.patch: No longer needed for Ada (Keith Seitz). - New PR backtrace/12237, drop gdb-6.3-framepczero-20040927.patch gdb-6.3-bt-past-zero-20051201.patch as they already had no effect.
22 lines
702 B
Diff
22 lines
702 B
Diff
[patch] Workaround ada (gnat-4.3.0) on x86_64
|
|
http://sourceware.org/ml/gdb-patches/2008-04/msg00427.html
|
|
|
|
--- ./gdb/dwarf2read.c 4 May 2008 17:27:01 -0000 1.260
|
|
+++ ./gdb/dwarf2read.c 4 May 2008 18:26:20 -0000
|
|
@@ -6754,7 +6754,14 @@ dwarf2_attr (struct die_info *die, unsig
|
|
for (i = 0; i < die->num_attrs; ++i)
|
|
{
|
|
if (die->attrs[i].name == name)
|
|
- return &die->attrs[i];
|
|
+ {
|
|
+ /* GCC PR ada/35998 workaround. */
|
|
+ if (name == DW_AT_byte_size
|
|
+ && DW_UNSND (&die->attrs[i]) == 0xffffffff)
|
|
+ return NULL;
|
|
+
|
|
+ return &die->attrs[i];
|
|
+ }
|
|
if (die->attrs[i].name == DW_AT_specification
|
|
|| die->attrs[i].name == DW_AT_abstract_origin)
|
|
spec = &die->attrs[i];
|