Changeset 1868 for trunk/org.modelica.mdt.debug.core/src
- Timestamp:
- 02/04/15 12:21:29 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.debug.core/src/org/modelica/mdt/debug/gdb/helper/GDBHelper.java
r1861 r1868 8 8 * All rights reserved. 9 9 * 10 * THIS PROGRAM IS PROVIDED UNDER THE TERMS OF GPL VERSION 3 11 * AND THIS OSMC PUBLIC LICENSE (OSMC-PL). 12 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS PROGRAM CONSTITUTES RECIPIENT'S 10 * THIS PROGRAM IS PROVIDED UNDER THE TERMS OF GPL VERSION 3 11 * AND THIS OSMC PUBLIC LICENSE (OSMC-PL). 12 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS PROGRAM CONSTITUTES RECIPIENT'S 13 13 * ACCEPTANCE OF THE OSMC PUBLIC LICENSE. 14 14 * … … 16 16 * Consortium (OSMC) Public License (OSMC-PL) are obtained 17 17 * from Linkoping University, either from the above address, 18 * from the URLs: http://www.ida.liu.se/projects/OpenModelica or 19 * http://www.openmodelica.org, and in the OpenModelica distribution. 18 * from the URLs: http://www.ida.liu.se/projects/OpenModelica or 19 * http://www.openmodelica.org, and in the OpenModelica distribution. 20 20 * GNU version 3 is obtained from: http://www.gnu.org/copyleft/gpl.html. 21 21 * … … 71 71 public static String SIGTRAP = "SIGTRAP"; 72 72 public static String SIGSEGV = "SIGSEGV"; 73 73 74 74 public static Boolean filterCFiles(GDBDebugTarget gdbDebugTarget, MIFrame miFrame) throws CoreException { 75 75 if (miFrame.getFile().isEmpty()) { … … 89 89 } 90 90 } 91 91 92 92 /** 93 93 * @param file … … 123 123 return listType.substring(beginIndex + 1, endIndex); 124 124 } 125 125 126 126 /** 127 127 * Converts OMC hex string to normal java string with utf-8 encoding … … 131 131 public static String omcHexToString(String hexString) { 132 132 String hex = hexString.substring(9); // since the hex value starts with _omcQuot_ 133 133 134 134 byte[] bytes = new byte[hex.length() / 2]; 135 135 for (int i = 0; i < bytes.length; i++) {
Note: See TracChangeset
for help on using the changeset viewer.