* Re: gdbsx: likely bug in xg_write_mem
[not found] <D67285B7DE31B54BACF601C0EF3463DF2A17EEEBB3@ESESSCMS0356.eemea.ericsson.se>
@ 2012-07-26 7:18 ` Mukesh Rathor
0 siblings, 0 replies; only message in thread
From: Mukesh Rathor @ 2012-07-26 7:18 UTC (permalink / raw)
To: András Méhes; +Cc: Xen-devel@lists.xensource.com
On Wed, 25 Jul 2012 16:55:36 +0200
András Méhes <andras.mehes@ericsson.com> wrote:
> Hi Mukesh,
>
>
> Thanks for the good work on Xen debugging!
>
> I've just stumbled upon what I believe is a bug in 'xg_write_mem';
> specifically, the assumption that 'iop->remain == 0' implies success
> seems to be false. First, the 'memset' call sets 'iop->remain' to 0.
> Then, the hypercall fails without touching 'iop->remain' and
> 'xg_write_mem' reports success.... Here's the relevant debug output
> from gdbsx:
>
Hi Andras,
I am currently out of office, and will look at it next week sometimes
after I return and catch up. Thanks for pointing it out.
> That would be a much better alternative for setting breakpoints
> *before* the kernel is actually mapped in. The very brute-force
> workaround with only software breakpoints -after the patch- is to
> keep single stepping until setting the breakpoint finally
> succeeds.. ;-(
Yeah, it's on the list, but I've been so busy with hybrid, and other
stuff. Besides, haven't had many people ask for it, so priority remains
low. Feel free to work on it tho, my top pri afteer I return is hybrid.
thanks,
Mukesh
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-26 7:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <D67285B7DE31B54BACF601C0EF3463DF2A17EEEBB3@ESESSCMS0356.eemea.ericsson.se>
2012-07-26 7:18 ` gdbsx: likely bug in xg_write_mem Mukesh Rathor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).