[PATCH] Differentiate empty vs. opaque types
Daniel Jacobowitz
drow@false.org
Tue Apr 10 21:19:00 GMT 2007
On Mon, Mar 12, 2007 at 10:36:12PM +0100, Jan Kratochvil wrote:
> 2007-03-12 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
> macros.
> (TYPE_IS_OPAQUE): Empty vs. opaque structures are now
> distinct on the TYPE_STUB_SUPPORTED debug targets.
> * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
> * dwarfread.c (struct_type): New comment on TYPE_FLAG_STUB_SUPPORTED.
>
> 2007-03-12 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
> gdb.base/type-opaque.exp: New files.
Sorry I didn't get back to you; I wanted to finish deleting
dwarfread.c first.
This is OK, without the bit for dwarfread.c, which is now gone.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list