diff --git a/src/ia64/Ginit-ia64.c b/src/ia64/Ginit-ia64.c index 03ede79d..77604e23 100644 --- a/src/ia64/Ginit-ia64.c +++ b/src/ia64/Ginit-ia64.c @@ -236,8 +236,8 @@ access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, if (ret != 0) { - Debug (1, "failed to %s %s\n", - write ? "write" : "read", unw_regname (reg)); + Debug (1, "failed to %s %s (ret = %d)\n", + write ? "write" : "read", unw_regname (reg), ret); return -UNW_EBADREG; }