1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-18 07:41:44 +02:00

Rename UNW_IA64_CURRENT_BSP to UNW_IA64_BSP.

(Logical change 1.9)
This commit is contained in:
mostang.com!davidm 2002-04-01 23:01:22 +00:00
parent 42f9c357a8
commit 99639fb162
3 changed files with 3 additions and 3 deletions

View file

@ -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,

View file

@ -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;

View file

@ -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);
}