From 13147e5e9cd3ad96fa771be29431d7c926d54669 Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Tue, 25 Nov 2003 22:33:49 +0000 Subject: [PATCH] (free_dyn_info): Handle UNW_INFO_FORMAT_REMOTE_TABLE. (intern_dyn_info): Likewise. (Logical change 1.126) --- src/dyn-remote.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/dyn-remote.c b/src/dyn-remote.c index 91973b48..7036ea96 100644 --- a/src/dyn-remote.c +++ b/src/dyn-remote.c @@ -144,6 +144,7 @@ free_dyn_info (unw_dyn_info_t *di) } break; + case UNW_INFO_FORMAT_REMOTE_TABLE: default: break; } @@ -180,6 +181,14 @@ intern_dyn_info (unw_addr_space_t as, unw_accessors_t *a, goto out; break; + case UNW_INFO_FORMAT_REMOTE_TABLE: + if ((ret = fetchw (as, a, addr, &di->u.rti.name_ptr, arg)) < 0 + || (ret = fetchw (as, a, addr, &di->u.rti.segbase, arg)) < 0 + || (ret = fetchw (as, a, addr, &di->u.rti.table_len, arg)) < 0 + || (ret = fetchw (as, a, addr, &di->u.rti.table_data, arg)) < 0) + goto out; + break; + default: ret = -UNW_ENOINFO; goto out;