From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6227 invoked by alias); 26 Feb 2018 03:48:50 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 6164 invoked by uid 48); 26 Feb 2018 03:48:45 -0000 From: "gmoreira at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/22671] MIPSEL error Unknown register: a4 Date: Mon, 26 Feb 2018 03:48:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gmoreira at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-q1/txt/msg00062.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D22671 --- Comment #5 from Gustavo Moreira --- (In reply to David Smith from comment #3) > Created attachment 10751 [details] > Simple mips patch >=20 > 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. --=20 You are receiving this mail because: You are the assignee for the bug.