[RFC] canonical linespec and multiple breakpoints ...

Jan Kratochvil jan.kratochvil@redhat.com
Fri May 6 03:20:00 GMT 2011


On Fri, 06 May 2011 00:40:16 +0200, Joel Brobecker wrote:
> I think that, in a case where we have matches in code with debug
> info, we shouldn't even bother looking at code without debugging
> info. I think that this would be reasonable. There should be other
> ways for the user to break on those instances that don't have
> debug info he that's really what he meant.

You have commonly system libraries debug info installed and you debug some
unpackaged application without debug info.  You see there application function
`next_line', you `break next_line' on it.

Oops, the breakpoint is missed, it broke on libc static function `next_line'
and not on the application function.


Thanks,
Jan



More information about the Gdb-patches mailing list