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~