This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Ranjit Mathew wrote:
Well you probably already know this, but a few weeks ago I added libjava/sysdep/dwarf2-backtrace.cc which as its name implies generates a backtrace via the libgcc unwinder. However as was noted earlier, this is of little use when the eh_frame info is not available.But Bryce wants to avoid having to call backtrace( ) and use libgcc's unwinder interface instead and hence my query.
Ranjit.
It seems to me that if there is no other way to get a backtrace than using -fno-omit-framepointer and walking the stack, then that is what you have to do.
The alternative is to not be able to get a stack trace, which implies that much of the java security infrastructure will not work.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |