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

Eli Zaretskii eliz@gnu.org
Thu May 5 16:27:00 GMT 2011


> 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.



More information about the Gdb-patches mailing list