This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: gdb patch for 64-bit enum values on 64-bit hosts (ia64-linux)
- To: Jim Wilson <wilson at cygnus dot com>
- Subject: Re: gdb patch for 64-bit enum values on 64-bit hosts (ia64-linux)
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 14 Jun 2000 18:25:42 -0500
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200006090053.RAA14301@ada.cygnus.com.cygnus.com>
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.