gcj.texi (libgcj Runtime Properties): Document gnu.gcj.runtime.NameFinder.show_raw and...
2006-06-05 David Daney <ddaney@avtrex.com> * gcj.texi (libgcj Runtime Properties): Document gnu.gcj.runtime.NameFinder.show_raw and gnu.gcj.runtime.NameFinder.remove_unknown. 2006-06-05 David Daney <ddaney@avtrex.com> * 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
This commit is contained in:
@@ -67,13 +67,29 @@ public class NameFinder
|
||||
("gnu.gcj.runtime.NameFinder.use_addr2line", "true")
|
||||
).booleanValue();
|
||||
|
||||
private static boolean show_raw
|
||||
= Boolean.valueOf(System.getProperty
|
||||
("gnu.gcj.runtime.NameFinder.show_raw", "false")
|
||||
).booleanValue();
|
||||
|
||||
/**
|
||||
* Return true if raw addresses should be printed in stacktraces
|
||||
* when no line number information is available.
|
||||
*/
|
||||
static final boolean showRaw()
|
||||
{
|
||||
return show_raw;
|
||||
}
|
||||
|
||||
private static final boolean remove_unknown
|
||||
= Boolean.valueOf(System.getProperty
|
||||
("gnu.gcj.runtime.NameFinder.remove_unknown", "true")
|
||||
).booleanValue();
|
||||
|
||||
// Return true if non-Java frames should be removed from stack
|
||||
// traces.
|
||||
/**
|
||||
* Return true if non-Java frames should be removed from stack
|
||||
* traces.
|
||||
*/
|
||||
static final boolean removeUnknown()
|
||||
{
|
||||
return remove_unknown;
|
||||
|
||||
Reference in New Issue
Block a user