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]

Re: [patch] Fix DW_AT_lower_bound DWARF-4+ defaults


Jan> All of DWARF 2, 3 and 4 have there also the paragraph:
Jan> 	No other default lower bound values are currently defined.
Jan> Which makes the complaint IMNSHO right.

Crud, I missed that somehow.
I agree.

>> defaults is informative, not exhaustive, and we should just pick a
>> reasonable default and not complain.

Jan> Some reasonable default is picked, maybe we could discuss if this fallback
Jan> could be improved but I find 0 to be good enough for invalid DWARF input.

I think the nicest thing would be to pick the DWARF 4 defaults, and
complain for other versions.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]