1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-11 11:05:24 +02:00
cdt/dsf/org.eclipse.cdt.examples.dsf.pda
Jonah Graham ff75ae80fa Bug 540373: Cleanup: Remove trailing whitespace in properties files
Command used:
# Remove space at eol in comments
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} +
# Remove space at eol in blank lines
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} +
# Replace escaped spaces at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} +
# Replace unescaped spaces at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} +
# Replace escaped tabs at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} +
# Replace unescaped tabs at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} +
# Stage all changes
git add -A .
# trim any remaining whitespace and then identify and fixup
# manually
# Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties
# needed this due to missing newline at end of the file
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} +

Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
2018-11-23 07:52:26 +00:00
..
.settings Bug 540373: Standard .settings auto applied 2018-11-22 21:47:02 +00:00
META-INF Bug 540610 - Add Automatic-Module-Name header 2018-10-30 15:49:15 +01:00
pdavm Bug 540373: Cleanup: Remove redundant type arguments 2018-11-22 21:55:36 +00:00
samples DSF - Added support for arrays in PDA example. 2012-10-30 11:43:00 -07:00
src/org/eclipse/cdt/examples/dsf/pda Bug 540373: Cleanup: Remove redundant semicolons 2018-11-22 21:57:01 +00:00
.classpath Move the rest of the CDT plugins to java 8 2016-06-22 14:51:43 -04:00
.options Migrated DSF and DSF-GDB to the CDT project. 2009-01-08 21:08:05 +00:00
.project Migrated DSF and DSF-GDB to the CDT project. 2009-01-08 21:08:05 +00:00
about.html Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
build.properties Bug 540373: Cleanup: Remove trailing whitespace in properties files 2018-11-23 07:52:26 +00:00
plugin.properties Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
plugin.xml Fix PDA source lookup bug. 2009-03-16 18:24:36 +00:00
readme.html Migrated DSF and DSF-GDB to the CDT project. 2009-01-08 21:08:05 +00:00

<h1>Debug Examples ReadMe Notes</h1>
<h2>PDA Debugger Example</h2>
<p>In order to actually run the PDA debugger example, you will need a Perl interpreter. 
  Linux&reg;&#8482; comes with Perl. For Microsoft&reg; Windows&reg;, we use either 
  ActivePerl (<a href="http://www.activeperl.com/">http://www.activeperl.com/</a>) or Indigo Perl 
  (<a href="http://www.indigostar.com/">http://www.indigostar.com/</a>). You also 
  have to set the string substitution variable named &#8220;dsfPerlExecutable&#8221; 
  to the complete path to your Perl interpreter. (For example, ours was C:\perl\bin\perl.exe) 
  To set a string substitution variable, use the Windows &gt; Preferences &gt; 
  Run/Debug &gt; String Substitution preferences page.<br>
</p>