mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-22 15:47:37 +01:00
Rename UNW_IA64_CURRENT_BSP to UNW_IA64_BSP.
(Logical change 1.9)
This commit is contained in:
parent
42f9c357a8
commit
99639fb162
3 changed files with 3 additions and 3 deletions
|
@ -63,7 +63,7 @@ typedef enum
|
||||||
UNW_IA64_CFM,
|
UNW_IA64_CFM,
|
||||||
|
|
||||||
/* frame info (read-only): */
|
/* frame info (read-only): */
|
||||||
UNW_IA64_CURRENT_BSP,
|
UNW_IA64_BSP,
|
||||||
UNW_IA64_IP,
|
UNW_IA64_IP,
|
||||||
UNW_IA64_SP,
|
UNW_IA64_SP,
|
||||||
UNW_IA64_PROC_START,
|
UNW_IA64_PROC_START,
|
||||||
|
|
|
@ -328,7 +328,7 @@ ia64_access_reg (struct ia64_cursor *c, unw_regnum_t reg, unw_word_t *valp,
|
||||||
{
|
{
|
||||||
/* frame registers: */
|
/* frame registers: */
|
||||||
|
|
||||||
case UNW_IA64_CURRENT_BSP:
|
case UNW_IA64_BSP:
|
||||||
if (write)
|
if (write)
|
||||||
return -UNW_EREADONLYREG;
|
return -UNW_EREADONLYREG;
|
||||||
*valp = c->bsp;
|
*valp = c->bsp;
|
||||||
|
|
|
@ -45,7 +45,7 @@ do_backtrace (void)
|
||||||
unw_get_reg (&cursor, UNW_REG_PROC_START, &proc_start);
|
unw_get_reg (&cursor, UNW_REG_PROC_START, &proc_start);
|
||||||
unw_get_reg (&cursor, UNW_REG_HANDLER, &handler);
|
unw_get_reg (&cursor, UNW_REG_HANDLER, &handler);
|
||||||
unw_get_reg (&cursor, UNW_REG_LSDA, &lsda);
|
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",
|
printf ("\tproc_start=%016lx handler=%lx lsda=%lx bsp=%lx\n",
|
||||||
proc_start, handler, lsda, bsp);
|
proc_start, handler, lsda, bsp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue