This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/22671] MIPSEL error Unknown register: a4
- From: "gmoreira at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 26 Feb 2018 03:48:45 +0000
- Subject: [Bug runtime/22671] MIPSEL error Unknown register: a4
- Auto-submitted: auto-generated
- References: <bug-22671-6586@http.sourceware.org/bugzilla/>
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.