From a4bea2c466cb478f6b74c8b76522df55df6c3c6d Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Tue, 21 Jan 2003 08:08:32 +0000 Subject: [PATCH] (UNW_STATE_LEN): Remove (replaced by UNW_TDEP_CURSOR_LEN). (UNWPI_FLAG_FIRST_TDEP_BIT): Define. Fix typo in comment: LITTLE not LITLE... (Logical change 1.39) --- include/libunwind-common.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/include/libunwind-common.h b/include/libunwind-common.h index 51765e02..03dabd38 100644 --- a/include/libunwind-common.h +++ b/include/libunwind-common.h @@ -37,12 +37,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ typedef unw_tdep_word_t unw_word_t; -/* This needs to be big enough to accommodate the unwind state of any - architecture, while leaving some slack for future expansion. - Changing this value will require recompiling all users of this - library. */ -#define UNW_STATE_LEN 127 - /* Error codes. The unwind routines return the *negated* values of these error codes on error and a non-negative value on success. */ typedef enum @@ -92,7 +86,7 @@ typedef int unw_regnum_t; of this type. */ typedef struct unw_cursor { - unw_word_t opaque[UNW_STATE_LEN]; + unw_word_t opaque[UNW_TDEP_CURSOR_LEN]; } unw_cursor_t; @@ -119,6 +113,9 @@ unw_fpreg_t; typedef struct unw_addr_space *unw_addr_space_t; +/* This bit is set to indicate */ +#define UNW_PI_FLAG_FIRST_TDEP_BIT 16 + typedef struct unw_proc_info { unw_word_t start_ip; /* first IP covered by this procedure */ @@ -234,7 +231,7 @@ extern int UNW_OBJ(get_proc_name) (unw_cursor_t *c, char *buf, size_t buf_len); /* Create a new address space (in addition to the default local_addr_space). BYTE_ORDER can be 0 to select the default byte-order or one of the byte-order values defined by - (e.g., __LITLE_ENDIAN or __BIG_ENDIAN). The default byte-order is + (e.g., __LITTLE_ENDIAN or __BIG_ENDIAN). The default byte-order is either implied by the target architecture (e.g., x86 is always little-endian) or is select based on the byte-order of the host.