aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu')
-rw-r--r--libjava/gnu/gcj/runtime/NameFinder.java20
1 files changed, 18 insertions, 2 deletions
diff --git a/libjava/gnu/gcj/runtime/NameFinder.java b/libjava/gnu/gcj/runtime/NameFinder.java
index e43886f..0742af1 100644
--- a/libjava/gnu/gcj/runtime/NameFinder.java
+++ b/libjava/gnu/gcj/runtime/NameFinder.java
@@ -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;