debug: i386 register profile lacks gs_base (#4380)

This commit is contained in:
Anton Kochkov 2024-03-23 12:58:25 +08:00 committed by GitHub
parent c52750ccfe
commit fb5bc404b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -890,7 +890,7 @@ RZ_API ut64 get_linux_tls_val(RZ_NONNULL RzDebug *dbg, int tid) {
rz_debug_reg_sync(dbg, RZ_REG_TYPE_GPR, false);
}
#if (__x86_64__ || __i386__)
#if __x86_64__
RzRegItem *ri = rz_reg_get(dbg->reg, "fs", RZ_REG_TYPE_ANY);
RZ_DEBUG_REG_T regs;
// Fetch gs_base from a ptrace call