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] |
Date: Tue, 09 Mar 2010 15:38:30 -0500 From: Chris Moller<cmoller@redhat.com>
This is the typeid thing.
This patch implements typeid in gdb, letting users do things like
p typeid(<expression>) p typeid(<expression>).name() p typeid(<expression>).__name p typeid(<expression>).__is_pointer_()
and the same thing for types (i.e., p typeid(<type>).name())
Thanks. I think this needs a suitable patch to the manual as well.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |