This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PR8554: New command to save breakpoints to a file
On Friday 16 April 2010 00:14:11, Michael Snyder wrote:
> Also, it doesn't seem right to me that "save tracepoints" will ignore
> breakpoints, but "save breakpoints" doesn't ignore tracepoints (but
> rather saves them both).
>
> Since you have this filter mechanism in place already, why don't you
> arrange to have "save breakpoints" save only breakpoints?
Because "info breakpoints" also lists all kinds of breakpoints
(real-breakpoints, watchpoints, tracepoints, catchpoints), and
"info tracepoints" only lists tracepoints. Please refer to
last January's discution about "actionpoints" over at gdb@.
--
Pedro Alves