This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [patch] fix exp/12117


On Wed, Oct 13, 2010 at 12:03 PM, Tom Tromey <tromey@redhat.com> wrote:
> The qualified variants are all linked
> together and allocated alongside the main_type, so we don't have to
> worry about memory leaks or excess type reinstantiation.

I'm aware of that.

How about this?
[testsuite results not in yet]

2010-10-13  Doug Evans  <dje@google.com>

        PR exp/12117
        * c-typeprint.c (c_type_print_base, case TYPE_CODE_TYPEDEF):
Verify
        assumptions of when this case happens.  Print "<unnamed
typedef>".
        * gdbtypes.c (check_typedef): Clean up function comment.
        Keep track of instance flags as we strip typedefs and create a
new
        type to preserve them if necessary.

        testsuite/
        * gdb.cp/pr12117.cc: New file.
        * gdb.cp/pr12117.exp: New file.

Attachment: gdb-101013-12117-2.patch.txt
Description: Text document


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