This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] python: Add qualified parameter to gdb.Breakpoint
> From: Simon Marchi <simon.marchi@ericsson.com>
> Date: Fri, 8 Dec 2017 13:26:48 -0500
>
> > OK for the documentation part. (Do we need a NEWS entry?)
>
> A NEWS entry would be good. I think we can complement the existing one about
> -qualified instead of making a new one. What about this?
>
> diff --git a/gdb/NEWS b/gdb/NEWS
> index c6fe297..bd5ae36 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -81,7 +81,9 @@
> GDB interpret the specified function name as a complete
> fully-qualified name instead. For example, using the same C++
> program, the "break -q B::func" command sets a breakpoint on
> - "B::func", only.
> + "B::func", only. A parameter has been added to the Python
> + gdb.Breakpoint constructor to achieve the same result when creating
> + a breakpoint from Python.
>
> * Breakpoints on functions marked with C++ ABI tags
Fine with me, thanks.