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

Yao Qi
2016-06-17T11:56:10Z

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 (齐尧)