This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Daniel, > > 2008-06-19 Joel Brobecker <brobecker@adacore.com> > > > > * dwarf2read.c (read_attribute_value): Treat size attribute > > values of 0xffffffff as if the attribute value was zero. > > OK. A complaint when this happens wouldn't be a bad thing, either. Thanks for the review. I am not 100% sure about the complaint, because I presume that this issue happens on a routine basis whenever record types (the equivalent of structs) whose size is dynamic are used. If they are frequent, my concern is that the complaint mechanism would be shut down by several repetitions of the same complaint before giving other complaints a chance to print their message? Perhaps we could decide to define a new complaint category, instead of using the symtab category? In the meantime, I checked the initial patch in, and started testing the following patch: 2008-06-26 Joel Brobecker <brobecker@adacore.com> * dwarf2read.c (read_attribute_value): Issue a complaint when adjusting size attribute values of 0xffffffff as zero. WDYT? -- Joel
Attachment:
dwarf-complaint.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |