Re: [RFC] Interpreters (~final) (fwd)

Michael Snyder
2002-08-27T21:50:52Z

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