This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v4 2/3] Forget watchpoint locations when inferior exits or is killed/detached
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 17 Jun 2016 12:55:56 +0100
- Subject: Re: [PATCH v4 2/3] Forget watchpoint locations when inferior exits or is killed/detached
- Authentication-results: sourceware.org; auth=none
- References: <1466119968-15171-1-git-send-email-palves at redhat dot com> <1466119968-15171-3-git-send-email-palves at redhat dot com>
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 (éå)