[Lldb-commits] [lldb] r157664 - /lldb/trunk/tools/debugserver/scripts/dbgnub-config.pl
Filipe Cabecinhas
me at filcab.net
Tue May 29 17:44:14 PDT 2012
Author: filcab
Date: Tue May 29 19:44:14 2012
New Revision: 157664
URL: http://llvm.org/viewvc/llvm-project?rev=157664&view=rev
Log:
Make dbgnub-config.pl work with multiline env vars.
Modified:
lldb/trunk/tools/debugserver/scripts/dbgnub-config.pl
Modified: lldb/trunk/tools/debugserver/scripts/dbgnub-config.pl
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/scripts/dbgnub-config.pl?rev=157664&r1=157663&r2=157664&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/scripts/dbgnub-config.pl (original)
+++ lldb/trunk/tools/debugserver/scripts/dbgnub-config.pl Tue May 29 19:44:14 2012
@@ -33,6 +33,7 @@
my $val;
while (($key, $val) = each %ENV)
{
+ $val =~ s/\n/\n\/\/ /;
printf CONFIG "// %s = %s\n", $key, $val;
}
print CONFIG "//" . "-" x 72 . "\n";
More information about the lldb-commits
mailing list