diff options
Diffstat (limited to 'gdb/tm-hppa.h')
-rw-r--r-- | gdb/tm-hppa.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/tm-hppa.h b/gdb/tm-hppa.h index 15be003..957fc15 100644 --- a/gdb/tm-hppa.h +++ b/gdb/tm-hppa.h @@ -574,3 +574,16 @@ struct unwind_table_entry { unsigned int reserved4 : 2; unsigned int Total_frame_size : 27; }; + +/* Info about the unwind table associated with an object file. This is hung + off of the objfile->obj_private pointer, and is allocated in the objfile's + psymbol obstack. This allows us to have unique unwind info for each + executable and shared library that we are debugging. */ + +struct obj_unwind_info { + struct unwind_table_entry *table; /* Pointer to unwind info */ + struct unwind_table_entry *cache; /* Pointer to last entry we found */ + int last; /* Index of last entry */ +}; + +#define OBJ_UNWIND_INFO(obj) ((struct obj_unwind_info *)obj->obj_private) |