This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]