Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org, Sami Wagiaalla <swagiaal@redhat.com>
Subject: Re: [patch 2/2] ptype should list also class's typedefs
Date: Mon, 28 Jun 2010 20:42:00 -0000	[thread overview]
Message-ID: <20100628204216.GB22597@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <m3sk47xbih.fsf@fleche.redhat.com>

On Mon, 28 Jun 2010 20:22:46 +0200, Tom Tromey wrote:
> Jan> 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
> Jan> 	* c-typeprint.c (c_type_print_base): For no fields check include also
> Jan> 	TYPE_TYPEDEF_FIELD_COUNT.  Print new typedefs section.
> Jan> 	* dwarf2read.c (struct typedef_field_list)
> Jan> 	(struct field_info) <typedef_field_list, typedef_field_list_count>: New.
> Jan> 	(dwarf2_add_typedef): New.
> Jan> 	(read_structure_type): Call dwarf2_add_typedef for DW_TAG_typedef.
> Jan> 	Copy also FI.TYPEDEF_FIELD_LIST.
> Jan> 	* gdbtypes.h (struct typedef_field)
> Jan> 	(struct cplus_struct_type) <typedef_field, typedef_field_count>
> Jan> 	(TYPE_TYPEDEF_FIELD_ARRAY, TYPE_TYPEDEF_FIELD, TYPE_TYPEDEF_FIELD_NAME)
> Jan> 	(TYPE_TYPEDEF_FIELD_TYPE, TYPE_TYPEDEF_FIELD_COUNT): New.
> 
> Jan> 2010-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
> Jan> 	* gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
> Jan> 	(ptype ::C::OtherFileClass typedefs): New.
> Jan> 	* gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
> Jan> 	(C::OtherFileClass::cOtherFileClassVar2): New.
> Jan> 	(C::OtherFileClass::cOtherFileClassVar_use): Use also
> Jan> 	cOtherFileClassVar2.
> Jan> 	(C::cOtherFileType2, C::cOtherFileVar2): New.
> Jan> 	(C::cOtherFileVar_use): use also cOtherFileVar2.
> Jan> 	* gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
> 
> This is ok.  Thanks.

Checked-in:
	http://sourceware.org/ml/gdb-cvs/2010-06/msg00199.html


Thanks,
Jan


      reply	other threads:[~2010-06-28 20:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-14 15:59 Jan Kratochvil
2010-06-17  2:32 ` Tom Tromey
2010-06-25 21:29   ` Jan Kratochvil
2010-06-28 18:22     ` Tom Tromey
2010-06-28 20:42       ` Jan Kratochvil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100628204216.GB22597@host0.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=swagiaal@redhat.com \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox