From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2923 invoked by alias); 30 Jul 2008 14:59:29 -0000 Received: (qmail 2913 invoked by uid 22791); 30 Jul 2008 14:59:28 -0000 X-Spam-Check-By: sourceware.org Received: from igw3.br.ibm.com (HELO igw3.br.ibm.com) (32.104.18.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Jul 2008 14:59:06 +0000 Received: from mailhub3.br.ibm.com (unknown [9.18.232.110]) by igw3.br.ibm.com (Postfix) with ESMTP id 990A13902DA for ; Wed, 30 Jul 2008 11:40:05 -0300 (BRST) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m6UEx3Lr450678 for ; Wed, 30 Jul 2008 11:59:03 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m6UEwvm6031089 for ; Wed, 30 Jul 2008 11:58:57 -0300 Received: from [9.18.201.171] ([9.18.201.171]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m6UEwuUi031076; Wed, 30 Jul 2008 11:58:57 -0300 Subject: Re: [RFA][patch 1/9] Yet another respin of the patch with initial Python support From: Thiago Jung Bauermann To: Eli Zaretskii Cc: Tom Tromey , gdb-patches@sourceware.org In-Reply-To: References: <20080615181833.uxmo25mg0kko40kw@imap.linux.ibm.com> <1216107418.14956.27.camel@localhost.localdomain> <1216245620.12209.18.camel@localhost.localdomain> <20080718195010.GA14356@caradoc.them.org> <1216653969.31797.6.camel@localhost.localdomain> <20080726134252.GA6077@caradoc.them.org> <20080726144138.GA9711@caradoc.them.org> Content-Type: text/plain Date: Wed, 30 Jul 2008 14:59:00 -0000 Message-Id: <1217429936.4804.12.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00560.txt.bz2 On Sat, 2008-07-26 at 22:34 +0300, Eli Zaretskii wrote: > Bottom line, unless I'm again missing something, we are talking about > extending GDB. CLI scripting is also a way of extending GDB, albeit > very limited one. So I still think having these two in the same > chapter is OK. It seems to me that the confusion comes from the fact that Python scripting support can be viewed by two angles: a much more powerful version of the current GDB scripting capability, and a way to develop new features and functionality (even eligible to be shipped with GDB itself) without having to mess around with GDB internals, by doing them completely in Python. In the first sense, it makes sense to put the Python-related documentation in the "Canned Sequence of Commands" chapter. In the other, it doesn't because it's something different. And the audience of each of those is different. -- []'s Thiago Jung Bauermann Software Engineer IBM Linux Technology Center