This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Interpreters (~final) (fwd)
- From: Michael Snyder <msnyder at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 27 Aug 2002 14:50:44 -0700
- Subject: Re: [RFC] Interpreters (~final) (fwd)
- Organization: Red Hat, Inc.
- References: <Pine.LNX.4.44.0208270916330.1408-300000@valrhona.uglyboxes.com>
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 <keiths@redhat.com>
> 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 <keiths@redhat.com>
>
> * 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 <keiths@redhat.com>
>
> * interps.c (_initialize_interpreter): Add completer function
> to "set interpreter" command.
>
> 2002-08-12 Keith Seitz <keiths@redhat.com>
>
> * interps.c: Run through gdb_indent.sh
> * interps.h: Ditto.
>
> 2002-06-24 Keith Seitz <keiths@redhat.com>
>
> * 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 <keiths@redhat.com>
>
> * interps.h: Add GDB_INTERPRETER_MI1. GDB_INTERPRETER_MI will
> now be mi version 2.
>
> 2002-05-28 Keith Seitz <keiths@redhat.com>
>
> * 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