From be592ddeb2aaca7b13ff827f48881e9f3b54112b Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Sat, 8 Feb 2003 10:10:59 +0000 Subject: [PATCH] (_Uia64_search_unwind_table): Return a valid gp-value in the proc-info even when there is no other unwind-info. (Logical change 1.45) --- src/ia64/tables-ia64.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ia64/tables-ia64.c b/src/ia64/tables-ia64.c index a3fedd12..239e236e 100644 --- a/src/ia64/tables-ia64.c +++ b/src/ia64/tables-ia64.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2001-2002 Hewlett-Packard Co + Copyright (C) 2001-2003 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. */ @@ -73,6 +73,7 @@ _Uia64_search_unwind_table (unw_addr_space_t as, unw_word_t ip, unwind info => use default conventions (i.e., this is NOT an error). */ memset (pi, 0, sizeof (*pi)); + pi->gp = di->gp; return 0; }