[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen on ARM: Force register dump from guest.

On 5 June 2013 17:11, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Wed, 2013-06-05 at 16:36 +0200, Sander Bogaert wrote:
>> Hi,
>> I'm working on some kind of microOS for Xen on ARM a bit like miniOS
>> but with less features. I'm having totally random crashes after make
>> use of variadic arguments ( using newlib ).
>> To debug this I'd really need a way to force a register dump from the
>> guest, is there a good way to do this? I don't think any of the
>> available hypercalls has that ability?
> Sounds like you want "xenctx" which is in tools/xentrace/

I doesn't show any output when invoked. Is it supposed to work for Xen
on ARM? It's also not really what I need, some hypercall or other
break that crashes the domain and does a show_execution_state() is
more like it. That way I can test how far in my code I get before the
crash and see the state that leads to it. It might be easiest to trap
something in Xen ( or use the SMC trap ) and run a custom Xen build

My application crashes whenever I use variadic arguments, the crashes
are totally random and sometimes non-existent, if this would raise any
red flags in your brain I'd be very happy to hear some suggestions too
:p But my main concern is some way to debug as described.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.