[PATCH v4 2/3] Forget watchpoint locations when inferior exits or is killed/detached

Yao Qi qiyaoltc@gmail.com
Fri Jun 17 11:56:00 GMT 2016


Pedro Alves <palves@redhat.com> writes:

> +	      /* Get rid of existing locations, which are no longer
> +		 valid.  New ones will be created in
> +		 update_watchpoint, when the inferior is
> +		 restarted.  */
> +	      b->loc = NULL;

Use decref_bp_location or is it intended?

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list