I'm debugging a program in which a function looks like this:
type foo(args) { foo (;;) { /* logic */ } return ...; } If I set a breakpoint on the function using (gdb) b foo it is ignored. This is because the breakpoint is placed on the first line, and that first line isn't considered to contain any expressions! In my experience with various line-oriented debuggers, if a breakpoint is set on a line that doesn't map to any code, the debugger should actually search through the successors of that line until it finds something breakable. _______________________________________________ bug-gdb mailing list bug-gdb@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gdb