Mercurial > hg > graal-jvmci-8
diff src/cpu/sparc/vm/frame_sparc.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 | 7f77d17d0f13 |
children |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/frame_sparc.hpp Mon Dec 15 18:11:51 2014 +0400 +++ b/src/cpu/sparc/vm/frame_sparc.hpp Wed Sep 24 12:19:07 2014 -0700 @@ -164,6 +164,8 @@ enum unpatchable_t { unpatchable }; frame(intptr_t* sp, unpatchable_t, address pc = NULL, CodeBlob* cb = NULL); + void init(intptr_t* sp, address pc, CodeBlob* cb); + // Walk from sp outward looking for old_sp, and return old_sp's predecessor // (i.e. return the sp from the frame where old_sp is the fp). // Register windows are assumed to be flushed for the stack in question.