Changeset 103834 in webkit


Ignore:
Timestamp:
Dec 29, 2011 8:59:05 PM (12 years ago)
Author:
mitz@apple.com
Message:

debug-safari --no-saved-state fails to start the debugger
https://bugs.webkit.org/show_bug.cgi?id=75374

Reviewed by Sam Weinig.

  • Scripts/webkitdirs.pm:

(execMacWebKitAppForDebugging): Pass the --args option to gdb so that it passes arguments to
the executable being debugged.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r103833 r103834  
     12011-12-29  Dan Bernstein  <mitz@apple.com>
     2
     3        debug-safari --no-saved-state fails to start the debugger
     4        https://bugs.webkit.org/show_bug.cgi?id=75374
     5
     6        Reviewed by Sam Weinig.
     7
     8        * Scripts/webkitdirs.pm:
     9        (execMacWebKitAppForDebugging): Pass the --args option to gdb so that it passes arguments to
     10        the executable being debugged.
     11
    1122011-12-29  Sam Weinig  <sam@webkit.org>
    213
  • trunk/Tools/Scripts/webkitdirs.pm

    r103662 r103834  
    23342334    $ENV{WEBKIT_UNSET_DYLD_FRAMEWORK_PATH} = "YES";
    23352335    my @architectureFlags = ("-arch", architecture());
    2336     exec { $gdbPath } $gdbPath, @architectureFlags, $appPath, argumentsForRunAndDebugMacWebKitApp() or die;
     2336    exec { $gdbPath } $gdbPath, @architectureFlags, "--args", $appPath, argumentsForRunAndDebugMacWebKitApp() or die;
    23372337}
    23382338
Note: See TracChangeset for help on using the changeset viewer.