mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-31 05:55:24 +00:00
* dwarf2read.c (read_attribute_value): Issue a complaint when
adjusting size attribute values of 0xffffffff as zero.
This commit is contained in:
parent
f747e0ce0a
commit
01c66ae6a6
@ -1,3 +1,8 @@
|
||||
2008-06-27 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* dwarf2read.c (read_attribute_value): Issue a complaint when
|
||||
adjusting size attribute values of 0xffffffff as zero.
|
||||
|
||||
2008-06-27 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* i386-tdep.c (i386_16_byte_align_p): New.
|
||||
|
@ -6244,7 +6244,13 @@ read_attribute_value (struct attribute *attr, unsigned form,
|
||||
if (attr->name == DW_AT_byte_size
|
||||
&& form == DW_FORM_data4
|
||||
&& DW_UNSND (attr) >= 0xffffffff)
|
||||
DW_UNSND (attr) = 0;
|
||||
{
|
||||
complaint
|
||||
(&symfile_complaints,
|
||||
_("Suspicious DW_AT_byte_size value treated as zero instead of 0x%lx"),
|
||||
DW_UNSND (attr));
|
||||
DW_UNSND (attr) = 0;
|
||||
}
|
||||
|
||||
return info_ptr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user