From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4341 invoked by alias); 5 Sep 2013 17:13:34 -0000 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 Received: (qmail 4328 invoked by uid 89); 5 Sep 2013 17:13:34 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Sep 2013 17:13:34 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r85HDVRi018832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Sep 2013 13:13:31 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r85HDTIL010066; Thu, 5 Sep 2013 13:13:30 -0400 Message-ID: <5228BBB9.4020904@redhat.com> Date: Thu, 05 Sep 2013 17:13:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Andrew Burgess CC: "gdb-patches@sourceware.org" Subject: Re: [PATCH] Give every interpreter a command_loop_proc. References: <5228B883.2010602@broadcom.com> In-Reply-To: <5228B883.2010602@broadcom.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-09/txt/msg00181.txt.bz2 On 09/05/2013 05:59 PM, Andrew Burgess wrote: > 2013-09-05 Andrew Burgess > > * gdb/cli/cli-interp.c (_initialize_cli_interp): Add a > command_loop_proc to interp_procs. > * gdb/event-top.c (cli_command_loop): Change signature to match > interp_command_loop_ftype. > * gdb/event-top.h (cli_command_loop): Same. > * gdb/interps.c (interp_new): Require every interpreter to have a > command_loop_proc. > (current_interp_command_loop): Just call the command_loop_proc on > the current interpreter. > * gdb/tui/tui-interp.c (_initialize_tui_interp): Add a > command_loop_proc to interp_procs. s,gdb/,, in all the above. OK. Thanks! -- Pedro Alves