fix Makefile clean, fix compilation warnings
This commit is contained in:
@@ -102,7 +102,7 @@ int find_regnum(uint32_t op)
|
||||
pst_reg_error pst_get_reg(pst_context* ctx, int regno, uint64_t* regval)
|
||||
{
|
||||
#ifdef USE_LIBUNWIND
|
||||
int ret = unw_get_reg(ctx->curr_frame, regno, ®val);
|
||||
int ret = unw_get_reg(ctx->curr_frame, regno, regval);
|
||||
switch (ret) {
|
||||
case UNW_EUNSPEC:
|
||||
return REG_CFI_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user