1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-16 15:01:45 +02: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:
mostang.com!davidm 2004-05-05 01:54:53 +00:00
parent 8fd300ae66
commit 8241bb15a8

View file

@ -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)
{