Ignore:
Timestamp:
05/22/12 16:16:14 (12 years ago)
Author:
adeas31
Message:
  • Fixed the stack frame functions names parsing. Only remove first letter if its _.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.debug.core/src/org/modelica/mdt/debug/gdb/core/model/stack/GDBStackFrame.java

    r1499 r1516  
    120120            fName = fFrame.getFunction();
    121121        } else {
    122             fName = fFrame.getFunction().substring(1);
     122            // only remove first letter if its underscore.
     123            if (fFrame.getFunction().startsWith("_"))
     124                fName = fFrame.getFunction().substring(1);
     125            else
     126                fName = fFrame.getFunction();
    123127            // if the names are converted to hex values
    124128            if (fName.startsWith("_omcQuot_")) {
Note: See TracChangeset for help on using the changeset viewer.