[Bug runtime/22671] MIPSEL error Unknown register: a4
gmoreira at gmail dot com
sourceware-bugzilla@sourceware.org
Mon Feb 26 03:48:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=22671
--- Comment #5 from Gustavo Moreira <gmoreira at gmail dot com> ---
(In reply to David Smith from comment #3)
> Created attachment 10751 [details]
> Simple mips patch
>
> Here's a simple (untested) patch that will get you past your initial error
> message and allow you to access the first 4 arguments of a function. To
> access the rest, someone with knowledge of the 32-bit MIPS ABI (and access
> to MIPS hardware) will need to write some code that decodes the MIPS o32
> user and kernel stacks.
Actually, I've replaced the final FIXME assert() with error() instead,
otherwise it raises another compilation error. Anyway, the assert() function
executes error() so it should be equivalent:
error(sprintf("Cannot access arg(%d)", argnum))
But yeah it would be needed to write some code to fix it completely.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list