This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC] Interpreters (~final) (fwd)


Ping.

Last merge of trunk into kseitz_interps-20020528-branch was done on 29 Aug 
2002.
---------- Forwarded message ----------
Date: Tue, 27 Aug 2002 09:17:10 -0700 (PDT)
From: Keith Seitz <keiths@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [RFC] Interpreters (~final) (fwd)

Ping.

---------- 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

Attachment: interps.h
Description: Text document

Attachment: interps.c
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]