This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] static_kind -> bit0, bit1 [Re: [gdb] Fortran dynamic arrays]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org, Tobias Burnus <burnus at net-b dot de>, Ulrich Weigand <uweigand at de dot ibm dot com>, Jim Blandy <jimb at red-bean dot com>, jimb at codesourcery dot com
- Date: Mon, 6 Oct 2008 22:20:44 +0200
- Subject: Re: [patch] static_kind -> bit0, bit1 [Re: [gdb] Fortran dynamic arrays]
- References: <20080818111120.GE16894@adacore.com> <200808181553.m7IFrG3w005270@d12av02.megacenter.de.ibm.com> <48A59B3C.9050801@net-b.de> <20080818111120.GE16894@adacore.com> <20080907115637.GA12939@host0.dyn.jankratochvil.net> <20080919221221.GA23372@adacore.com> <20080926125754.GC21287@caradoc.them.org> <20081006200928.GD3588@adacore.com>
Hi,
you were probably describing it already in your mail but more simply:
SYMBOL_OPS can currently have only two values: dwarf2_loclist_funcs or
dwarf2_locexpr_funcs. Which is moreover dependent on
ENUM_BITFIELD(address_class). So the whole ops field has a useful size of
1 bit. In fact 0 bits as there can be LOC_COMPUTED_LOCLIST and
LOC_COMPUTED_LOCEXPR instead of LOC_COMPUTED.
But I would prefer to keep this part as a different patch.
Thanks,
Jan