Files
binutils-gdb/gdb/testsuite/gdb.python
Tom Tromey 336bb2a1c1 Automatically add types to Python modules
PR python/32163 points out that various types provided by gdb are not
added to the gdb module, so they aren't available for interactive
inspection.  I think this is just an oversight.

This patch fixes the problem by introducing a new helper function that
both readies the type and then adds it to the appropriate module.  The
patch also poisons PyType_Ready, the idea being to avoid this bug in
the future.

v2:
* Fixed a bug in original patch in gdb.Architecture registration
* Added regression test for the types mentioned in the bug

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32163
Reviewed-By: Alexandra Petlanova Hajkova <ahajkova@redhat.com>
2024-09-23 13:44:59 -06:00
..
2024-09-16 08:11:54 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00
2024-04-02 11:21:39 -06:00