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: [patch][branch] Fix saving -location watchpoints.


On Friday 08 April 2011 21:47:33, Thiago Jung Bauermann wrote:
> Hi,
> 
> 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.

-- 
Pedro Alves


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