summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhomeip.net!davidm <homeip.net!davidm>2004-08-17 15:34:28 +0000
committerhomeip.net!davidm <homeip.net!davidm>2004-08-17 15:34:28 +0000
commit39803ee0b7c79ab72b18ae845b601b13fded0d87 (patch)
tree86608e57c09a32fe87ce74a0ec925b71ffd8f7e4 /src
parent3c9026e2709edca060c14e8dd1ca74382a4c3e06 (diff)
downloadlibunwind-39803ee0b7c79ab72b18ae845b601b13fded0d87.tar.gz
Rename: src/hppa/tables-hppa.c -> src/hppa/tables.c
(Logical change 1.241)
Diffstat (limited to 'src')
-rw-r--r--src/hppa/tables.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/hppa/tables.c b/src/hppa/tables.c
index e69de29b..383b4495 100644
--- a/src/hppa/tables.c
+++ b/src/hppa/tables.c
@@ -0,0 +1,43 @@
+#include "unwind_i.h"
+
+static inline int
+is_local_addr_space (unw_addr_space_t as)
+{
+ extern unw_addr_space_t _ULhppa_local_addr_space;
+
+ return (as == _Uhppa_local_addr_space
+#ifndef UNW_REMOTE_ONLY
+ || as == _ULhppa_local_addr_space
+#endif
+ );
+}
+
+HIDDEN int
+tdep_find_proc_info (unw_addr_space_t as, unw_word_t ip,
+ unw_proc_info_t *pi, int need_unwind_info, void *arg)
+{
+ printf ("%s: begging to get implemented...\n", __FUNCTION__);
+ return 0;
+}
+
+HIDDEN int
+tdep_search_unwind_table (unw_addr_space_t as, unw_word_t ip,
+ unw_dyn_info_t *di,
+ unw_proc_info_t *pi, int need_unwind_info, void *arg)
+{
+ printf ("%s: the biggest beggar of them all...\n", __FUNCTION__);
+ return 0;
+}
+
+HIDDEN void
+tdep_put_unwind_info (unw_addr_space_t as, unw_proc_info_t *pi, void *arg)
+{
+ if (!pi->unwind_info)
+ return;
+
+ if (!is_local_addr_space (as))
+ {
+ free (pi->unwind_info);
+ pi->unwind_info = NULL;
+ }
+}