RESOLVED FIXED 72829
Pass command line arguments to GDB when debugging a Mac WebKit application
https://bugs.webkit.org/show_bug.cgi?id=72829
Summary Pass command line arguments to GDB when debugging a Mac WebKit application
Daniel Bates
Reported 2011-11-20 11:46:29 PST
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.
Attachments
Patch (1.33 KB, patch)
2011-11-20 11:48 PST, Daniel Bates
ddkilzer: review+
ddkilzer: commit-queue-
Daniel Bates
Comment 1 2011-11-20 11:48:23 PST
David Kilzer (:ddkilzer)
Comment 2 2011-11-28 12:35:58 PST
Comment on attachment 115989 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=115989&action=review r=me > Tools/Scripts/webkitdirs.pm:2075 > - exec { $gdbPath } $gdbPath, @architectureFlags, $appPath or die; > + exec { $gdbPath } $gdbPath, @architectureFlags, $appPath, @ARGV or die; NOTE: This conflicts with Attachment 115993 [details] Bug 66902. This should either land first, or not at all.
Daniel Bates
Comment 3 2011-12-19 15:34:32 PST
(In reply to comment #2) > (From update of attachment 115989 [details]) > [...] > > Tools/Scripts/webkitdirs.pm:2075 > > - exec { $gdbPath } $gdbPath, @architectureFlags, $appPath or die; > > + exec { $gdbPath } $gdbPath, @architectureFlags, $appPath, @ARGV or die; > > 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.
Daniel Bates
Comment 4 2011-12-19 15:40:32 PST
Note You need to log in before you can comment on or make changes to this bug.