On 17/12/14 10:24, Julien Grall wrote:
>
>
> On 17/12/2014 10:11, Andrew Cooper wrote:
>> On 16/12/14 23:37, Julien Grall wrote:
>> Introducing a new bugframe is precicely what I meant by "this doesn't
>> look hard".  x86 currently has one more bugframe than arm, being
>> BUGFRAME_run_fn.
>
> And how do you pass the pointer of the function? As I said, ARM lacks
> of %c because of compiler issue.
>
> I'm out of idea on how to do simply on ARM. Let me know if you have a
> good solution.
>
> What I meant with introduce a new bug frame adding BUGFRAM_dump_stack.
>
> Regards,
>

I don't know about good, but stringly typing the function pointer and
stashing it in the same way as the assert message would work.

(I can see now why you suggested BUGFRAME_dump_stack, but it would be
nice to find a more generic alternative if possible.)

~Andrew


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to