Commit Graph

5 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
bd7b74a316 gdb: add missing automatic imports (#8788)
When GDB has just started, several `gdb` submodules are automatically
loaded, so user code does not have to manually import them (for instance
`import gdb.events`). Reflect that in `gdb` stubs.
2022-09-24 18:32:10 +01:00
Alex Waygood
9ccf4589a0 Fix various TypeAlias issues (#8248) 2022-07-07 17:48:44 +05:30
Pierre-Marie de Rodat
6a5abd38cf Various fixes in gdb (#8144)
* gdb.events.BreakpointEvent: fix various typos

* gdb.printing: remove GenPrinterFunction

This was meant to be a private type alias, but it is unused and a
duplicate of the better named gdb._PrettyPrinterLookupFunction.
2022-06-23 14:03:03 +01:00
Shantanu
64181e8dad stubtest: use separate table in METADATA.toml (#8096) 2022-06-19 00:43:24 -07:00
Pierre-Marie de Rodat
640053e8e3 Add stubs for "gdb" (#8013)
This commit adds type stubs for the "gdb" package, the Python API to
extend GDB (https://sourceware.org/gdb/onlinedocs/gdb/Python-API.html).
2022-06-14 22:28:54 -07:00