1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-26 09:07:38 +01:00

(UNW_REG_EH): Rename from UNW_REG_EH_ARG0.

(UNW_REG_EH_ARG1): Delete.
(UNW_REG_EH_ARG2): Ditto.
(UNW_REG_EH_ARG3): Ditto.
(UNW_NUM_EH_REGS): New macro.
(_UPT_resume): Declare.

(Logical change 1.59)
This commit is contained in:
mostang.com!davidm 2003-03-06 06:14:36 +00:00
parent 515fd742bd
commit c670abba8f

View file

@ -65,14 +65,14 @@ typedef enum
{ {
UNW_REG_IP = UNW_TDEP_IP, /* (rw) instruction pointer (pc) */ UNW_REG_IP = UNW_TDEP_IP, /* (rw) instruction pointer (pc) */
UNW_REG_SP = UNW_TDEP_SP, /* (ro) stack pointer */ UNW_REG_SP = UNW_TDEP_SP, /* (ro) stack pointer */
UNW_REG_EH_ARG0 = UNW_TDEP_EH_ARG0, /* (rw) exception-handling arg 0 */ UNW_REG_EH = UNW_TDEP_EH, /* (rw) exception-handling reg base */
UNW_REG_EH_ARG1 = UNW_TDEP_EH_ARG1, /* (rw) exception-handling arg 1 */
UNW_REG_EH_ARG2 = UNW_TDEP_EH_ARG2, /* (rw) exception-handling arg 2 */
UNW_REG_EH_ARG3 = UNW_TDEP_EH_ARG3, /* (rw) exception-handling arg 3 */
UNW_REG_LAST = UNW_TDEP_LAST_REG UNW_REG_LAST = UNW_TDEP_LAST_REG
} }
unw_frame_regnum_t; unw_frame_regnum_t;
/* Number of exception-handler argument registers: */
#define UNW_NUM_EH_REGS UNW_TDEP_NUM_EH_REGS
typedef enum typedef enum
{ {
UNW_CACHE_NONE, /* no caching */ UNW_CACHE_NONE, /* no caching */
@ -360,4 +360,5 @@ extern int _UPT_access_fpreg (unw_addr_space_t as, unw_regnum_t reg,
extern int _UPT_get_proc_name (unw_addr_space_t as, unw_word_t addr, extern int _UPT_get_proc_name (unw_addr_space_t as, unw_word_t addr,
char *buf, size_t len, unw_word_t *offp, char *buf, size_t len, unw_word_t *offp,
void *arg); void *arg);
extern int _UPT_resume (unw_addr_space_t as, unw_cursor_t *c, void *arg);
extern unw_accessors_t _UPT_accessors; extern unw_accessors_t _UPT_accessors;