From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8780 invoked by alias); 27 Aug 2002 21:50:52 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8750 invoked from network); 27 Aug 2002 21:50:51 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 27 Aug 2002 21:50:51 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id OAA25665; Tue, 27 Aug 2002 14:43:38 -0700 (PDT) Message-ID: <3D6BF434.B9D4C62D@redhat.com> Date: Tue, 27 Aug 2002 15:01:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Keith Seitz CC: gdb-patches@sources.redhat.com Subject: Re: [RFC] Interpreters (~final) (fwd) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00915.txt.bz2 Keith Seitz wrote: > > Ping. Hi Keith, I'm not sure whose domain this is. /me lacks context. What is it we're trying to do here? Provide replacements to the CLI interpreter? Lash an extension language into gdb? Excuse my ignorance, I haven't followed the conversation too closely. Michael > > ---------- Forwarded message ---------- > Date: Tue, 13 Aug 2002 13:22:46 -0700 (PDT) > From: Keith Seitz > To: gdb-patches@sources.redhat.com > Subject: [RFC] Interpreters (~final) > > Hi, > > Well, at long last, I think I am ready to try and get some of this work > approved. > > So, first on the chopping block: interps.c, interps.h. > > ChangeLogs (to be massaged appropriately): > 2002-08-13 Keith Seitz > > * interps.c (_initialize_interpreter): Remove ability to set > the interpreter. This could really undermine MI clients. > * top.c (catcher): Don't worry about interpreter changes. > > 2002-08-12 Keith Seitz > > * interps.c (_initialize_interpreter): Add completer function > to "set interpreter" command. > > 2002-08-12 Keith Seitz > > * interps.c: Run through gdb_indent.sh > * interps.h: Ditto. > > 2002-06-24 Keith Seitz > > * interps.c: Include gdb-events.h. > (clear_interpreter_hooks): Also clear out event handlers. > (gdb_set_interpreter): Clear out any hooks/event handlers that > may have been installed by old interpreter. > > 2002-06-18 Keith Seitz > > * interps.h: Add GDB_INTERPRETER_MI1. GDB_INTERPRETER_MI will > now be mi version 2. > > 2002-05-28 Keith Seitz > > * interps.c: New file. (Originally called interpreter.c by Apple) > * interps.h: New file. (Originally called interpreter.h by Apple) > > "Patch" > See appeneded files, interps.h and interps.c > > For the curious, you can play with the whole thing by checking out > kseitz_interps-20020528-branch, which was last merged with cvs HEAD on 9 > Aug 2002. The branch contains testcases, documentation, etc, too. > > It probably isn't perfect, but it's at least a place to start (IMO). There > are no regressions with this compared to gdb of 9 Aug 2002. > > Questions/comments welcome. > Keith > > ------------------------------------------------------------------------ > Name: interps.h > interps.h Type: Plain Text (TEXT/PLAIN) > Encoding: BASE64 > > Name: interps.c > interps.c Type: Plain Text (TEXT/PLAIN) > Encoding: BASE64