From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26396 invoked by alias); 7 Sep 2012 16:42:59 -0000 Received: (qmail 26387 invoked by uid 22791); 7 Sep 2012 16:42:57 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mms1.broadcom.com (HELO mms1.broadcom.com) (216.31.210.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 07 Sep 2012 16:42:24 +0000 Received: from [10.9.200.131] by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Fri, 07 Sep 2012 09:41:12 -0700 X-Server-Uuid: 06151B78-6688-425E-9DE2-57CB27892261 Received: from mail-irva-13.broadcom.com (10.11.16.103) by IRVEXCHHUB01.corp.ad.broadcom.com (10.9.200.131) with Microsoft SMTP Server id 8.2.247.2; Fri, 7 Sep 2012 09:42:08 -0700 Received: from [10.177.72.87] (unknown [10.177.72.87]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 6501C9F9F6 for ; Fri, 7 Sep 2012 09:42:07 -0700 (PDT) Message-ID: <504A23DE.1020104@broadcom.com> Date: Fri, 07 Sep 2012 16:42:00 -0000 From: "Andrew Burgess" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: Building gdb frontend References: <5049CE37.4020005@gmx.de> In-Reply-To: <5049CE37.4020005@gmx.de> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00013.txt.bz2 On 07/09/2012 11:36 AM, Johannes Bauer wrote: > I'm having a strange issue with gdb. Currently I'm building a frontend > for gdb to augment its features easily. It uses Python and forks a gdb > subprocess that it communicates over stdin/stdout. You may already be aware of this, forgive me if I'm telling you something you already know... gdb has python scripting support built in, see, http://sourceware.org/gdb/current/onlinedocs/gdb/Python.html#Python so you /might/ be able to achieve the augmentation you are aiming for by writing python scripts that are loaded into gdb. Cheers, Andrew