forked from python/typeshed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* gdb: Clarify a comment * gdb: Fix gdb.unwinder.Unwinder.__call__ argument. It takes a gdb.PendingFrame, not a gdb.Frame. * gdb: Unwinders may implement a proto without subclassing gdb.unwinder.Unwinder * gdb: Fix Breakpoint.__init__ 1. `line` should be `int|str`, not just `int` (IDK what a string means, but that it can be a string is clear if you read py-breakpoint.c:bppy_init(). 2. `type` argument should be able to be passed to the "location" form, not just the "spec" form, even if https://sourceware.org/gdb/current/onlinedocs/gdb.html/Breakpoints-In-Python.html neglects to mention it (don't worry, I'll be submitting a patch to fix the doc soon). 3. Fix the positional argument order (based on GDB's sources, it isn't really documented) 4. Use more `@overloads` to enforce that at least 1 of `function`, `label`, or `line` are given in the location form.
- Loading branch information
Showing
3 changed files
with
129 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters