|
From: | Richard Henderson |
Subject: | Re: [RFC PATCH] plugins: filter out the PC from the register list |
Date: | Tue, 5 Mar 2024 07:36:43 -1000 |
User-agent: | Mozilla Thunderbird |
On 3/5/24 07:12, Alex Bennée wrote:
+ /* skip the program counter */ + if (g_ascii_strncasecmp(grd->name, "pc", 2) == 0) { + continue; + }
The pc is not always named pc. For s390x it is "pswa"; for x86_64 it is "rip".For i386, "eip" is a component of the composite virtual address (pc = eip + cs_base) and cannot be queried in the same way.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |