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.
This commit is contained in:
Pierre-Marie de Rodat
2022-09-24 19:32:10 +02:00
committed by GitHub
parent c1692130fd
commit bd7b74a316

View File

@@ -10,6 +10,9 @@ from typing_extensions import TypeAlias
import gdb.types
# The following submodules are automatically imported
from . import events as events, printing as printing, prompt as prompt, types as types
# Basic
PYTHONDIR: str