8058345: Refactor native stack printing from vmError.cpp to debug.cpp to make it available in gdb as well

Also fix stack trace on x86 to enable walking of runtime stubs and native wrappers

Reviewed-by: kvn
This commit is contained in:
Volker Simonis 2014-09-24 12:19:07 -07:00
parent f85f7d2832
commit a1628426d3
12 changed files with 117 additions and 41 deletions

View file

@ -263,4 +263,7 @@ NOT_PRODUCT(void test_error_handler();)
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