Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30954 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63789 invoked by uid 1010); 16 Jul 2007 02:06:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63773 invoked from network); 16 Jul 2007 02:06:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jul 2007 02:06:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:53092] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/FA-36042-3A2DA964 for ; Sun, 15 Jul 2007 22:06:27 -0400 Received: from [127.0.0.1] ([192.168.17.11]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 15 Jul 2007 19:06:24 -0700 Message-ID: <469AD29A.80709@zend.com> Date: Sun, 15 Jul 2007 19:06:18 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: "Usman S. Ansari" CC: Antony Dovgal , internals@lists.php.net References: <46987258.4030205@yahoo.com> <46988CB6.7050100@zend.com> <4699CD43.2080806@yahoo.com> In-Reply-To: <4699CD43.2080806@yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Jul 2007 02:06:24.0448 (UTC) FILETIME=[E955EC00:01C7C74D] Subject: Re: [PHP-DEV] PHP Source Code Help From: stas@zend.com (Stanislav Malyshev) >> Use any of the debuggers available to step into it and see which >> function is called. > Since PHP is invoked by Apache server, how can I hockup gcc with php ? > is there an easy way to do this ? easier way would be to run apache single-process with httpd -X under gdb or attach to a certain process with gdb -p. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com