This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch][branch] Fix saving -location watchpoints.
- From: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>
- Date: Wed, 13 Apr 2011 15:34:16 -0300
- Subject: Re: [patch][branch] Fix saving -location watchpoints.
- References: <1302295653.2074.15.camel@hactar> <201104121206.07705.pedro@codesourcery.com>
On Tue, 2011-04-12 at 12:06 +0100, Pedro Alves wrote:
> On Friday 08 April 2011 21:47:33, Thiago Jung Bauermann wrote:
> > watch_command_1 sets b->exp_string to "-location: foobar". When saving
> > breakpoints to a file, save_breakpoints will use b->exp_string to
> > construct a command line for recreating the watchpoint, and comes up
> > with the invalid command "watch -location: foobar". This patch simply
> > removes the colon from exp_string.
> >
> > No regressions on i386-linux. Ok for HEAD and the branch?
>
> This is okay with me.
Thanks! Committed to HEAD. Waiting for explicit OK for the branch.
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center