Title: [121104] trunk/Tools
- Revision
- 121104
- Author
- [email protected]
- Date
- 2012-06-23 14:34:00 -0700 (Sat, 23 Jun 2012)
Log Message
debug-{minibrowser,safari,test-runner} fail when gdb is not installed in /usr/bin.
Reviewed by Sam Weinig.
* Scripts/webkitdirs.pm:
(execMacWebKitAppForDebugging): Use xcrun to locate gdb.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (121103 => 121104)
--- trunk/Tools/ChangeLog 2012-06-23 21:30:30 UTC (rev 121103)
+++ trunk/Tools/ChangeLog 2012-06-23 21:34:00 UTC (rev 121104)
@@ -1,3 +1,12 @@
+2012-06-23 Dan Bernstein <[email protected]>
+
+ debug-{minibrowser,safari,test-runner} fail when gdb is not installed in /usr/bin.
+
+ Reviewed by Sam Weinig.
+
+ * Scripts/webkitdirs.pm:
+ (execMacWebKitAppForDebugging): Use xcrun to locate gdb.
+
2012-06-23 Carlos Garcia Campos <[email protected]>
Unreviewed. Skip GTK+ unit test /webkit2/WebKitFindController/hide.
Modified: trunk/Tools/Scripts/webkitdirs.pm (121103 => 121104)
--- trunk/Tools/Scripts/webkitdirs.pm 2012-06-23 21:30:30 UTC (rev 121103)
+++ trunk/Tools/Scripts/webkitdirs.pm 2012-06-23 21:34:00 UTC (rev 121104)
@@ -2639,7 +2639,8 @@
{
my ($appPath) = @_;
- my $gdbPath = "/usr/bin/gdb";
+ my $gdbPath = `xcrun -find gdb`;
+ chomp $gdbPath;
die "Can't find gdb executable. Is gdb installed?\n" unless -x $gdbPath;
my $productDir = productDir();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes