comparison src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp @ 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 af21010d1062
children dd9cc155639c
comparison
equal deleted inserted replaced
22802:0ef505d06e12 22803:f43fad8786fc
262 intptr_t* sp = StubRoutines::Sparc::flush_callers_register_windows_func()(); 262 intptr_t* sp = StubRoutines::Sparc::flush_callers_register_windows_func()();
263 frame myframe(sp, frame::unpatchable, 263 frame myframe(sp, frame::unpatchable,
264 CAST_FROM_FN_PTR(address, os::current_frame)); 264 CAST_FROM_FN_PTR(address, os::current_frame));
265 if (os::is_first_C_frame(&myframe)) { 265 if (os::is_first_C_frame(&myframe)) {
266 // stack is not walkable 266 // stack is not walkable
267 return frame(NULL, NULL, NULL); 267 return frame(NULL, NULL, false);
268 } else { 268 } else {
269 return os::get_sender_for_C_frame(&myframe); 269 return os::get_sender_for_C_frame(&myframe);
270 } 270 }
271 } 271 }
272 272