diff src/share/vm/utilities/debug.hpp @ 22803:f43fad8786fc

8058345: Refactor native stack printing from vmError.cpp to debug.cpp to make it available in gdb as well Summary: Also fix stack trace on x86 to enable walking of runtime stubs and native wrappers Reviewed-by: kvn
author simonis
date Wed, 24 Sep 2014 12:19:07 -0700
parents 03e6d34be1f5
children dd9cc155639c
line wrap: on
line diff
--- a/src/share/vm/utilities/debug.hpp	Mon Dec 15 18:11:51 2014 +0400
+++ b/src/share/vm/utilities/debug.hpp	Wed Sep 24 12:19:07 2014 -0700
@@ -265,4 +265,7 @@
 void pd_ps(frame f);
 void pd_obfuscate_location(char *buf, size_t buflen);
 
+class outputStream;
+void print_native_stack(outputStream* st, frame fr, Thread* t, char* buf, int buf_size);
+
 #endif // SHARE_VM_UTILITIES_DEBUG_HPP