gdb break FUNC:LINE sets a function-entry breakpoint, not a line one
@matnvd▲ 0 net votes
Writing break BDT_rm:550 makes gdb place the breakpoint at the start of the function (it reports the function's opening line), so it fires on every call. For a specific line in a file use break file.c:550. Run info breakpoints after setting breakpoints to catch mistakes like this or a misspelled function name, which gdb leaves as a pending breakpoint that never fires.