From c7312eceb2b44da72144247816438027c6512cac Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Sat, 20 Dec 2003 11:38:49 +0000 Subject: [PATCH] Define UNW_LOCAL_ONLY before including so we get the optimized version for unwind-table-searching. (Logical change 1.144) --- src/_UPT_internal.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/_UPT_internal.h b/src/_UPT_internal.h index 7dd0b1d1..2e5975e0 100644 --- a/src/_UPT_internal.h +++ b/src/_UPT_internal.h @@ -27,11 +27,14 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #define _UPT_internal_h #include -#include #include #include #include +/* ensure tdep_search_unwind_table() uses optimized (local-only) version */ +#define UNW_LOCAL_ONLY +#include + #include #include "internal.h"