Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2020-10-16 18:13:43 +0000
committerEugene Tarassov2020-10-16 18:13:43 +0000
commitf98317a5bc3fe297c31e3bff8b373ebc9405785c (patch)
treeb8bd0c19084847def6d7692f4cf957b1044c8677 /plugins
parent0373b63704980d3d8c74be8830a4364cf0483f25 (diff)
downloadorg.eclipse.tcf-master.tar.gz
org.eclipse.tcf-master.tar.xz
org.eclipse.tcf-master.zip
Bug 567106 - Could we have a fix to solve the "0" line issue as the GDBHEADmaster
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeStackFrame.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeStackFrame.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeStackFrame.java
index 74663382e..728ed73d4 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeStackFrame.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeStackFrame.java
@@ -456,8 +456,13 @@ public class TCFNodeStackFrame extends TCFNode implements ITCFStackFrame {
else {
bf.append(sref.area.file);
}
- bf.append(", line ");
- bf.append(sref.area.start_line);
+ if (sref.area.start_line == 0) {
+ bf.append(", no line ");
+ }
+ else {
+ bf.append(", line ");
+ bf.append(sref.area.start_line);
+ }
}
if (error != null) {
if (state == null || state.is_suspended) {

Back to the top