We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6ba31f commit 4cb3873Copy full SHA for 4cb3873
.gdbinit
@@ -358,6 +358,9 @@ def fetch_breakpoints(watchpoints=False, pending=False):
358
breakpoints = []
359
# XXX in older versions gdb.breakpoints() returns None
360
for gdb_breakpoint in gdb.breakpoints() or []:
361
+ # skip internal breakpoints
362
+ if gdb_breakpoint.number < 0:
363
+ continue
364
addresses, is_pending = parsed_breakpoints[gdb_breakpoint.number]
365
is_pending = getattr(gdb_breakpoint, 'pending', is_pending)
366
if not pending and is_pending:
0 commit comments