Bug 125520 - [WK2] [SOUP] Allow running the network process with an arbitrary prefix command
Summary: [WK2] [SOUP] Allow running the network process with an arbitrary prefix command
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-10 10:24 PST by Alberto Garcia
Modified: 2013-12-10 10:46 PST (History)
0 users

See Also:


Attachments
Patch (1.64 KB, patch)
2013-12-10 10:39 PST, Alberto Garcia
cgarcia: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Garcia 2013-12-10 10:24:34 PST
Similar to what we did in bug 123201, but for the network process.

In short:

$ NETWORK_PROCESS_CMD_PREFIX='/usr/bin/gdbserver localhost:8080' WebKitBuild/Debug/Programs/MiniBrowser

and in a different terminal:

$ libtool --mode=execute gdb WebKitBuild/Debug/Programs/WebKitNetworkProcess
(gdb) target remote localhost:8080
Comment 1 Alberto Garcia 2013-12-10 10:39:19 PST
Created attachment 218881 [details]
Patch

There it goes.
Comment 2 Carlos Garcia Campos 2013-12-10 10:42:25 PST
Comment on attachment 218881 [details]
Patch

Excellent!
Comment 3 Alberto Garcia 2013-12-10 10:46:50 PST
Committed r160373: <http://trac.webkit.org/changeset/160373>