This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] canonical linespec and multiple breakpoints ...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]