This is the mail archive of the gdb-patches@sourceware.cygnus.com 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]

Re: gdb patch for 64-bit enum values on 64-bit hosts (ia64-linux)



One question about this patch:

In dwarf2read.c:read_array_type, I see two ifs that appear to handle
DW_FORM_udata, DW_FORM_data1, DW_FORM_data2, and DW_FORM_data4, but
not DW_FORM_data8, apparently assuming that DW_UNSND can't handle the
latter.  With your change, this is no longer true on platforms with
64-bit longs.

Could you try expanding those `ifs' to recognize DW_FORM_data8 too,
and see if there are any adverse effects?  It would seem to be a
natural extension.


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