Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attach: Work around a bug in old gdb versions
There's a bug (fixed in gdb 10.1) with how gdb parses the "commands" command when reading from a script, which causes the commands to get associated only with the first breakpoint rather than all of the breakpoints we wanted them associated with. Through sheer good luck, this bug doesn't affect the case when a range of breakpoint numbers is given, rather than a space separated list of breakpoint numbers, so we can switch to using a range to avoid the bug. Signed-off-by: Matt Wozniski <[email protected]>
- Loading branch information