From 696dad4b6bbaf23576e59546d1bd3e93dd0e96c4 Mon Sep 17 00:00:00 2001 From: David Daney Date: Tue, 6 Jun 2006 17:00:16 +0000 Subject: gcj.texi (libgcj Runtime Properties): Document gnu.gcj.runtime.NameFinder.show_raw and... 2006-06-05 David Daney * gcj.texi (libgcj Runtime Properties): Document gnu.gcj.runtime.NameFinder.show_raw and gnu.gcj.runtime.NameFinder.remove_unknown. 2006-06-05 David Daney * gnu/gcj/runtime/NameFinder.java (show_raw): New field. (showRaw): New method. * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h. (getLineNumberForFrame): Show IP offset in trace if line number not available and show_raw true. From-SVN: r114437 --- gcc/java/ChangeLog | 6 ++++++ gcc/java/gcj.texi | 15 +++++++++++++++ 2 files changed, 21 insertions(+) (limited to 'gcc/java') diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index e8b7c155..90f275c 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2006-06-06 David Daney + + * gcj.texi (libgcj Runtime Properties): Document + gnu.gcj.runtime.NameFinder.show_raw and + gnu.gcj.runtime.NameFinder.remove_unknown. + 2006-06-06 Tom Tromey * jcf-dump.c (print_access_flags): Handle varargs, bridge, diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi index 2f82d7f..38ae1ab 100644 --- a/gcc/java/gcj.texi +++ b/gcc/java/gcj.texi @@ -2793,6 +2793,21 @@ the java.util.logging infrastructure. However, performance may improve significantly for applications that print stack traces or make logging calls frequently. +@item gnu.gcj.runtime.NameFinder.show_raw +Whether the address of a stack frame should be printed when the line +number is unavailable. Setting this to @code{true} will cause the name +of the object and the offset within that object to be printed when no +line number is available. This allows for off-line decoding of +stack traces if necessary debug information is available. The default +is @code{false}, no raw addresses are printed. + +@item gnu.gcj.runtime.NameFinder.remove_unknown +Whether stack frames for non-java code should be included in a stack +trace. The default value is @code{true}, stack frames for non-java +code are suppressed. Setting this to @code{false} will cause any +non-java stack frames to be printed in addition to frames for the java +code. + @item gnu.gcj.runtime.VMClassLoader.library_control This controls how shared libraries are automatically loaded by the built-in class loader. If this property is set to @samp{full}, a full -- cgit v1.1