* [Qemu-devel] Query: gdbstub software breakpoint removal
@ 2011-03-21 11:01 Bhushan Bharat-R65777
2011-03-21 11:33 ` [Qemu-devel] " Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: Bhushan Bharat-R65777 @ 2011-03-21 11:01 UTC (permalink / raw)
To: qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 357 bytes --]
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?
Thanks
-Bharat
[-- Attachment #2: Type: text/html, Size: 2296 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] Re: Query: gdbstub software breakpoint removal
2011-03-21 11:01 [Qemu-devel] Query: gdbstub software breakpoint removal Bhushan Bharat-R65777
@ 2011-03-21 11:33 ` Jan Kiszka
2011-03-21 16:29 ` [Qemu-devel] " Bhushan Bharat-R65777
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2011-03-21 11:33 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] RE: Query: gdbstub software breakpoint removal
2011-03-21 11:33 ` [Qemu-devel] " Jan Kiszka
@ 2011-03-21 16:29 ` Bhushan Bharat-R65777
0 siblings, 0 replies; 3+ messages in thread
From: Bhushan Bharat-R65777 @ 2011-03-21 16:29 UTC (permalink / raw)
To: Jan Kiszka; +Cc: qemu-devel@nongnu.org
Hi Jan,
I will send a patch.
Thanks
-Bharat
> -----Original Message-----
> From: Jan Kiszka [mailto:jan.kiszka@siemens.com]
> Sent: Monday, March 21, 2011 5:04 PM
> To: Bhushan Bharat-R65777
> Cc: qemu-devel@nongnu.org
> Subject: Re: Query: gdbstub software breakpoint removal
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-21 16:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-21 11:01 [Qemu-devel] Query: gdbstub software breakpoint removal Bhushan Bharat-R65777
2011-03-21 11:33 ` [Qemu-devel] " Jan Kiszka
2011-03-21 16:29 ` [Qemu-devel] " Bhushan Bharat-R65777
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.