This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Differentiate empty vs. opaque types
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 10 Apr 2007 17:19:02 -0400
- Subject: Re: [PATCH] Differentiate empty vs. opaque types
- References: <20070311225518.GA10039@host0.dyn.jankratochvil.net> <20070312033529.GA1116@caradoc.them.org> <20070312213611.GA6633@host0.dyn.jankratochvil.net>
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