Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56797 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79374 invoked from network); 6 Dec 2011 11:38:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Dec 2011 11:38:00 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:36372] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 18/B4-55854-69EFDDE4 for ; Tue, 06 Dec 2011 06:37:58 -0500 Received: by yenl6 with SMTP id l6so248281yen.29 for ; Tue, 06 Dec 2011 03:37:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=7A+ASAp52YNLQG3N+ob16vxBde2hHoufpvD0B9Fq8nw=; b=nYmNZnXvrOLrxuDIplvEdAJ/8f1RT40b+bZrffpkntPc4aTGDdbX29s59DtCQ/YF8Z 1+RQfs/Cewd7UF6+LMJkNPp5NNy1+37CmwjuT+8UsP6ir7hNa16vUR5mGGenF1IvOvbO 4t5qoqKjrYFzpTjbXcfEMciABY3S7V4BNIvuk= MIME-Version: 1.0 Received: by 10.236.155.170 with SMTP id j30mr18105675yhk.56.1323171475445; Tue, 06 Dec 2011 03:37:55 -0800 (PST) Received: by 10.146.204.6 with HTTP; Tue, 6 Dec 2011 03:37:55 -0800 (PST) In-Reply-To: References: Date: Tue, 6 Dec 2011 12:37:55 +0100 Message-ID: To: Laruence Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Proposal for updating zbacktrace in gdbinit From: pierre.php@gmail.com (Pierre Joye) hi! Good idea and very handy. Btw, please add the bug # in the commit msg next time :) Thanks! On Tue, Dec 6, 2011 at 7:33 AM, Laruence wrote: > Hi: > =A0 I am plan to commit a new change to 5.4-trunk/.gdbinit which can be > found at http://pastebin.com/N6hTRMRA. > > =A0 after update, =A0the zbacktrace will print arguments info: > > =A0(gdb) zbacktrace > [0x95dac5d8] sleep(long: 1000) /tmp/1.php:21 > [0x95dac4b8] e(resource(#5)) /tmp/1.php:17 > [0x95dac3e8] d(bool: true) /tmp/1.php:13 > [0x95dac2f8] c(array(3)[0x95de78a0]) /tmp/1.php:10 > [0x95dac1c8] b(object[0x95de5158]) /tmp/1.php:7 > [0x95dac0e8] a(string(8): "laruence") /tmp/1.php:24 > > =A0 =A0any objections? > > thanks > -- > Laruence =A0Xinchen Hui > http://www.laruence.com/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org