From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55189 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1dMh-0003YC-8e for qemu-devel@nongnu.org; Mon, 21 Mar 2011 07:33:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1dMf-0004Zj-B7 for qemu-devel@nongnu.org; Mon, 21 Mar 2011 07:33:38 -0400 Received: from thoth.sbs.de ([192.35.17.2]:25729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1dMf-0004ZH-23 for qemu-devel@nongnu.org; Mon, 21 Mar 2011 07:33:37 -0400 Message-ID: <4D87378B.6060209@siemens.com> Date: Mon, 21 Mar 2011 12:33:31 +0100 From: Jan Kiszka MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: Query: gdbstub software breakpoint removal List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bhushan Bharat-R65777 Cc: "qemu-devel@nongnu.org" On 2011-03-21 12:01, Bhushan Bharat-R65777 wrote: > Hi All, > > I can see that the software breakpoint queue is cleared in kvm_remove_breakpoint() in kvm-all.c. I.e QTAILQ_REMOVE(¤t_env->kvm_state->kvm_sw_breakpoints, bp, entry); is called when the breakpoint is cleared. > > While the queue is not cleared on kvm_remove_all_breakpoints(); > Is there any specific reason for that? Hmm, no particular reason that I recall. This rather looks like a very old leak. Patch welcome. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux