This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] canonical linespec and multiple breakpoints ...
> 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.
OK. This means that we need to have a canonical form for symbols
without debug info as well. We actually have something for Ada
that could be extended to all languages, I think: We use angle
brackets to denote the fact that an entity name is a linkage
name. For instance:
break <my_function_linkage_name>
--
Joel