Skip to content

Commit

Permalink
debug: i386 register profile lacks gs_base (#4382)
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka authored Mar 24, 2024
1 parent fb5bc40 commit 957a299
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 @@ -964,7 +964,7 @@ RzList /*<RzDebugPid *>*/ *linux_thread_list(RzDebug *dbg, int pid, RzList /*<Rz
rz_debug_reg_sync(dbg, RZ_REG_TYPE_GPR, false);
pc = rz_debug_reg_get(dbg, "PC");

#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 957a299

Please sign in to comment.