Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update -break-insert with the -f (pending flag) to not require an additional parameter #2

Merged
merged 1 commit into from
Jul 19, 2019

Conversation

pieandcakes
Copy link
Contributor

Fixes: https://bugs.llvm.org/show_bug.cgi?id=28698

According to this document, -break-insert's -f flag is to tell the debugger to create a pending breakpoint if the location is not found. The additional parameter should not be necessary.

‘-f’
If location cannot be parsed (for example if it refers to unknown files or functions), create a pending breakpoint. Without this flag, GDB will report an error, and won’t create a breakpoint, if location cannot be parsed.

‘-d’

…itional parameter

According to [this](https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Breakpoint-Commands.html#GDB_002fMI-Breakpoint-Commands) document, `-break-insert`'s `-f` flag is to tell the debugger to create a pending breakpoint if the location is not found. The additional parameter should not be necessary.

```
‘-f’
If location cannot be parsed (for example if it refers to unknown files or functions), create a pending breakpoint. Without this flag, GDB will report an error, and won’t create a breakpoint, if location cannot be parsed.

‘-d’
```
@pieandcakes
Copy link
Contributor Author

Fixes #3

@JDevlieghere JDevlieghere merged commit e448e35 into lldb-tools:master Jul 19, 2019
WardenGnaw added a commit to microsoft/MIEngine that referenced this pull request Dec 31, 2019
From #946 and also with
@puremourning's help, lldb-mi has changed to not need the 'on' keyword
due to lldb-tools/lldb-mi#2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants