This is the mail archive of the 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 attribute.

> >>>>> "Joel" == Joel Brobecker <> 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>         * New file.
> Joel>         * py-pp-integral.exp: New file.
> Joel> Tested on x86_64-linux. OK to commit?
> Thanks Joel.  This is ok.

Thanks, Tom and Eli for the reviews. The patch is now in.

> 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.

I see. I've noticed the same problem with Ada as well, but during
internal transformations (what we call type "fix"-ing), where we lose
information as we go - Eg, we lose the type's name, or the type of
the array index, etc.  I've tried to fix things when they become
needed as well.


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