The b commands for setting breakpoints (for example, b, br, bx) accept %bp_label as an argument to specify a name for the breakpoint.
b %foo main#24 |
This command sets a breakpoint labeled foo on line 24 of procedure main
.
The B, e, d, and tog commands can refer to breakpoint labels by using the percent qualifier (%).
Expression | Meaning |
---|---|
d %foo |
Remove breakpoint labeled foo. |
d %3 |
Remove breakpoint with ID = 3. |
d main#4 |
Remove breakpoint on line 4 of main. |
d |
Remove breakpoint on current line. |