diff src/os_cpu/windows_x86/vm/os_windows_x86.hpp @ 12199:38f750491293

8022335: Native stack walk while generating hs_err does not work on Windows x64 Summary: Use WinDbg API StackWalk64() Reviewed-by: zgu, dholmes
author iklam
date Fri, 06 Sep 2013 08:42:42 -0700
parents b9a9ed0f8eeb
children de6a9e811145
line wrap: on
line diff
--- a/src/os_cpu/windows_x86/vm/os_windows_x86.hpp	Wed Sep 04 08:55:08 2013 -0400
+++ b/src/os_cpu/windows_x86/vm/os_windows_x86.hpp	Fri Sep 06 08:42:42 2013 -0700
@@ -62,4 +62,10 @@
 
   static bool      register_code_area(char *low, char *high);
 
+#ifdef AMD64
+#define PLATFORM_PRINT_NATIVE_STACK 1
+static bool platform_print_native_stack(outputStream* st, void* context,
+                                        char *buf, int buf_size);
+#endif
+
 #endif // OS_CPU_WINDOWS_X86_VM_OS_WINDOWS_X86_HPP