Skip to content

Commit

Permalink
debug: i386 register profile lacks gs_base (#4380)
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka authored Mar 23, 2024
1 parent c52750c commit fb5bc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/debug/p/native/linux/linux_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb5bc40

Please sign in to comment.