From 99639fb162e8ed476b1d572d18404791a406e3ec Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Mon, 1 Apr 2002 23:01:22 +0000 Subject: [PATCH] Rename UNW_IA64_CURRENT_BSP to UNW_IA64_BSP. (Logical change 1.9) --- include/libunwind-ia64.h | 2 +- src/ia64/regs.c | 2 +- tests/bt.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libunwind-ia64.h b/include/libunwind-ia64.h index aa29b130..d2c05d12 100644 --- a/include/libunwind-ia64.h +++ b/include/libunwind-ia64.h @@ -63,7 +63,7 @@ typedef enum UNW_IA64_CFM, /* frame info (read-only): */ - UNW_IA64_CURRENT_BSP, + UNW_IA64_BSP, UNW_IA64_IP, UNW_IA64_SP, UNW_IA64_PROC_START, diff --git a/src/ia64/regs.c b/src/ia64/regs.c index bc3f79a4..12eef76c 100644 --- a/src/ia64/regs.c +++ b/src/ia64/regs.c @@ -328,7 +328,7 @@ ia64_access_reg (struct ia64_cursor *c, unw_regnum_t reg, unw_word_t *valp, { /* frame registers: */ - case UNW_IA64_CURRENT_BSP: + case UNW_IA64_BSP: if (write) return -UNW_EREADONLYREG; *valp = c->bsp; diff --git a/tests/bt.c b/tests/bt.c index decb1e95..daed52f5 100644 --- a/tests/bt.c +++ b/tests/bt.c @@ -45,7 +45,7 @@ do_backtrace (void) unw_get_reg (&cursor, UNW_REG_PROC_START, &proc_start); unw_get_reg (&cursor, UNW_REG_HANDLER, &handler); unw_get_reg (&cursor, UNW_REG_LSDA, &lsda); - unw_get_reg (&cursor, UNW_IA64_CURRENT_BSP, &bsp); + unw_get_reg (&cursor, UNW_IA64_BSP, &bsp); printf ("\tproc_start=%016lx handler=%lx lsda=%lx bsp=%lx\n", proc_start, handler, lsda, bsp); }