summaryrefslogtreecommitdiff
path: root/include/tdep-hppa
diff options
context:
space:
mode:
authorArun Sharma <asharma@fb.com>2011-04-05 21:26:56 -0700
committerArun Sharma <asharma@fb.com>2011-04-05 22:07:05 -0700
commite2962af9d31266761700b431da894421c0d757ec (patch)
treeb5a3370f805707375c556e46f02ccd9700e95bb1 /include/tdep-hppa
parent15f182828d88ea51d419d94b3daabb7a69181c78 (diff)
downloadlibunwind-e2962af9d31266761700b431da894421c0d757ec.tar.gz
Implement a cheaper getcontext()
Since the fast unwinding code path doesn't need the full context, a faster target dependent getcontext is implemented. Signed-off-by: Lassi Tuura <lat@cern.ch>
Diffstat (limited to 'include/tdep-hppa')
-rw-r--r--include/tdep-hppa/libunwind_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tdep-hppa/libunwind_i.h b/include/tdep-hppa/libunwind_i.h
index d5ba7ab0..ef0bb5aa 100644
--- a/include/tdep-hppa/libunwind_i.h
+++ b/include/tdep-hppa/libunwind_i.h
@@ -221,6 +221,7 @@ dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val)
#endif /* !UNW_LOCAL_ONLY */
+#define tdep_getcontext_trace unw_getcontext
#define tdep_needs_initialization UNW_OBJ(needs_initialization)
#define tdep_init UNW_OBJ(init)
/* Platforms that support UNW_INFO_FORMAT_TABLE need to define