mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 17:17:39 +01:00
(struct table_entry): Move declrataion outside of !UNW_REMOTE_ONLY
bracket so the file compiles for UNW_REMOTE_ONLY, too. (Logical change 1.224)
This commit is contained in:
parent
8fd300ae66
commit
8241bb15a8
1 changed files with 6 additions and 6 deletions
|
@ -34,6 +34,12 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
#include "dwarf-eh.h"
|
||||
#include "tdep.h"
|
||||
|
||||
struct table_entry
|
||||
{
|
||||
unw_word_t start_ip_offset;
|
||||
unw_word_t fde_offset;
|
||||
};
|
||||
|
||||
#ifndef UNW_REMOTE_ONLY
|
||||
|
||||
/* Info is a pointer to a unw_dyn_info_t structure and, on entry,
|
||||
|
@ -212,12 +218,6 @@ dwarf_find_proc_info (unw_addr_space_t as, unw_word_t ip,
|
|||
return dwarf_search_unwind_table (as, ip, &di, pi, need_unwind_info, arg);
|
||||
}
|
||||
|
||||
struct table_entry
|
||||
{
|
||||
unw_word_t start_ip_offset;
|
||||
unw_word_t fde_offset;
|
||||
};
|
||||
|
||||
static inline const struct table_entry *
|
||||
lookup (struct table_entry *table, size_t table_size, unw_word_t rel_ip)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue