<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>72829</bug_id>
          
          <creation_ts>2011-11-20 11:46:29 -0800</creation_ts>
          <short_desc>Pass command line arguments to GDB when debugging a Mac WebKit application</short_desc>
          <delta_ts>2011-12-19 15:40:32 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Bates">dbates</reporter>
          <assigned_to name="Daniel Bates">dbates</assigned_to>
          <cc>ddkilzer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>506558</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-11-20 11:46:29 -0800</bug_when>
    <thetext>Command line argument given to debug-{safari, mini browser} should pass through to GDB so that they can influence the application instance launched by GDB.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>506559</commentid>
    <comment_count>1</comment_count>
      <attachid>115989</attachid>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-11-20 11:48:23 -0800</bug_when>
    <thetext>Created attachment 115989
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>510078</commentid>
    <comment_count>2</comment_count>
      <attachid>115989</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2011-11-28 12:35:58 -0800</bug_when>
    <thetext>Comment on attachment 115989
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=115989&amp;action=review

r=me

&gt; Tools/Scripts/webkitdirs.pm:2075
&gt; -    exec { $gdbPath } $gdbPath, @architectureFlags, $appPath or die;
&gt; +    exec { $gdbPath } $gdbPath, @architectureFlags, $appPath, @ARGV or die;

NOTE:  This conflicts with Attachment 115993 Bug 66902.  This should either land first, or not at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>524229</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-12-19 15:34:32 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 115989 [details])
&gt; [...]
&gt; &gt; Tools/Scripts/webkitdirs.pm:2075
&gt; &gt; -    exec { $gdbPath } $gdbPath, @architectureFlags, $appPath or die;
&gt; &gt; +    exec { $gdbPath } $gdbPath, @architectureFlags, $appPath, @ARGV or die;
&gt; 
&gt; NOTE:  This conflicts with Attachment 115993 [details] Bug 66902.  This should either land first, or not at all.

Will land this patch first. Then will land the patch for bug #66902.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>524235</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-12-19 15:40:32 -0800</bug_when>
    <thetext>Committed r103276: &lt;http://trac.webkit.org/changeset/103276&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>115989</attachid>
            <date>2011-11-20 11:48:23 -0800</date>
            <delta_ts>2011-11-28 12:35:58 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>Bug72829.patch</filename>
            <type>text/plain</type>
            <size>1358</size>
            <attacher name="Daniel Bates">dbates</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDEwMDg3MSkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE2IEBACisyMDExLTExLTIwICBEYW5pZWwgQmF0ZXMgIDxkYmF0ZXNAd2Via2l0Lm9yZz4K
KworICAgICAgICBQYXNzIGNvbW1hbmQgbGluZSBhcmd1bWVudHMgdG8gR0RCIHdoZW4gZGVidWdn
aW5nIGEgTWFjIFdlYktpdCBhcHBsaWNhdGlvbgorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0
Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NzI4MjkKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkg
KE9PUFMhKS4KKworICAgICAgICBQYXNzIHRocm91Z2ggYW55IGNvbW1hbmQgbGluZSBhcmd1bWVu
dHMgZ2l2ZW4gdG8gZGVidWcte3NhZmFyaSwgbWluaWJyb3dzZXJ9CisgICAgICAgIHRvIEdEQiBz
byB0aGF0IHRoZXkgbWF5IGluZmx1ZW5jZSB0aGUgYXBwbGljYXRpb24gaW5zdGFuY2UgbGF1bmNo
ZWQgYnkgR0RCLgorCisgICAgICAgICogU2NyaXB0cy93ZWJraXRkaXJzLnBtOgorICAgICAgICAo
ZXhlY01hY1dlYktpdEFwcEZvckRlYnVnZ2luZyk6CisKIDIwMTEtMTEtMTkgIE9qYW4gVmFmYWkg
IDxvamFuQGNocm9taXVtLm9yZz4KIAogICAgICAgICBGaXgganNvbnAgY2FsbGJhY2sgY29kZSB0
byBhZGQgdGhlIGNhbGxiYWNrIGlmIGpzb24gY29udGVudApJbmRleDogVG9vbHMvU2NyaXB0cy93
ZWJraXRkaXJzLnBtCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFRvb2xzL1NjcmlwdHMvd2Via2l0ZGlycy5wbQko
cmV2aXNpb24gMTAwODcxKQorKysgVG9vbHMvU2NyaXB0cy93ZWJraXRkaXJzLnBtCSh3b3JraW5n
IGNvcHkpCkBAIC0yMDcyLDcgKzIwNzIsNyBAQCBzdWIgZXhlY01hY1dlYktpdEFwcEZvckRlYnVn
Z2luZygkKQogICAgICRFTlZ7RFlMRF9GUkFNRVdPUktfUEFUSH0gPSAkcHJvZHVjdERpcjsKICAg
ICAkRU5We1dFQktJVF9VTlNFVF9EWUxEX0ZSQU1FV09SS19QQVRIfSA9ICJZRVMiOwogICAgIG15
IEBhcmNoaXRlY3R1cmVGbGFncyA9ICgiLWFyY2giLCBhcmNoaXRlY3R1cmUoKSk7Ci0gICAgZXhl
YyB7ICRnZGJQYXRoIH0gJGdkYlBhdGgsIEBhcmNoaXRlY3R1cmVGbGFncywgJGFwcFBhdGggb3Ig
ZGllOworICAgIGV4ZWMgeyAkZ2RiUGF0aCB9ICRnZGJQYXRoLCBAYXJjaGl0ZWN0dXJlRmxhZ3Ms
ICRhcHBQYXRoLCBAQVJHViBvciBkaWU7CiB9CiAKIHN1YiBkZWJ1Z1NhZmFyaQo=
</data>
<flag name="review"
          id="115043"
          type_id="1"
          status="+"
          setter="ddkilzer"
    />
    <flag name="commit-queue"
          id="115044"
          type_id="3"
          status="-"
          setter="ddkilzer"
    />
          </attachment>
      

    </bug>

</bugzilla>