Re: [RFA 2/3] Demote to sw watchpoint only in update_watchpoint

Eli Zaretskii
2011-05-05T16:27:16Z

> From: Pedro Alves <pedro@codesourcery.com>
> Date: Thu, 5 May 2011 16:27:40 +0100
> Cc: bauerman@br.ibm.com,
> gdb-patches@sourceware.org,
> uweigand@de.ibm.com
>
> 1. The inferior is stopped and software bp_locations (both breakpoints
> and watchpoints) are removed. Hardware ones stay in place.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 2. The user asks for a new watchpoint.

Ah, okay. I thought you were talking about that "new watchpoint" in
item 2. Thanks for setting me straight.

Yes, I agree that the difference doesn't really matter, and that your
second variant is slightly better.