Changeset 215105 in webkit
- Timestamp:
- Apr 7, 2017 11:49:57 AM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r215096 r215105 1 2017-04-07 Caio Lima <ticaiolima@gmail.com> 2 3 [JSC] Change --debug option to --debugger 4 https://bugs.webkit.org/show_bug.cgi?id=170587 5 6 Reviewed by Keith Miller. 7 8 * Scripts/run-jsc: 9 10 This patch is changing the new debugger flag for Tools/Scripts/run-jsc 11 to --debugger to avoid shadowing --debug flag used to run JSC with 12 Debug build. 13 1 14 2017-04-07 Brent Fulgham <bfulgham@apple.com> 2 15 -
trunk/Tools/Scripts/run-jsc
r214945 r215105 36 36 use Getopt::Long; 37 37 use webkitdirs; 38 Getopt::Long::Configure(" pass_through");38 Getopt::Long::Configure("no_auto_abbrev", "pass_through"); 39 39 40 my $usage = "Usage: run-jsc [--count run_count] [--debug ] shell_file [file2...]";40 my $usage = "Usage: run-jsc [--count run_count] [--debugger] shell_file [file2...]"; 41 41 42 42 my $count = 1; 43 my $debug = 0;43 my $debugger = 0; 44 44 45 45 GetOptions("count|c=i" => \$count); 46 GetOptions("debug " => \$debug);46 GetOptions("debugger" => \$debugger); 47 47 48 48 setConfiguration(); 49 49 50 50 my $jsc; 51 if ($debug ) {52 my $debugger = defined($ENV{"DEBUGGER"}) ? $ENV{"DEBUGGER"} : "lldb";53 $jsc = $debugger . " " . File::Spec->catfile(jscProductDir(), "jsc -- ") . "@ARGV";51 if ($debugger) { 52 my $debuggerCmd = defined($ENV{"DEBUGGER"}) ? $ENV{"DEBUGGER"} : "lldb"; 53 $jsc = $debuggerCmd . " " . File::Spec->catfile(jscProductDir(), "jsc -- ") . "@ARGV"; 54 54 } else { 55 55 $jsc = File::Spec->catfile(jscProductDir(), "jsc ") . "@ARGV";
Note: See TracChangeset
for help on using the changeset viewer.