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: [RFA/python+doco/NEWS] Add gdb.Type.name attribute.


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel>         * python/py-type.c (typy_get_name): New function.
Joel>         (type_object_getset): Add entry for attribute "name".
Joel>         * NEWS: Add entry mentioning this new attribute.

Joel>         * py-pp-integral.c: New file.
Joel>         * py-pp-integral.py: New file.
Joel>         * py-pp-integral.exp: New file.

Joel> Tested on x86_64-linux. OK to commit?

Thanks Joel.  This is ok.

Note that scalar types are often lost by gdb, so if you want to try
"print (our_time_t) value", it will probably not work.  This is fallout
from check_typedef.  There's a bug in bugzilla about this.

Tom


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