This is the mail archive of the gdb-patches@sourceware.org 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]

[PATCH v2 0/9] Cleanups to Guile extension interface


[I have made the changes requested, except for "kinds of GDB object" in
patch 5.  I believe I have the changelogs correct now; I took liberties
in patches 6-9 under the "Simple Changes" section of standards.texi,
merely listing the removed interfaces and relying on "All callers
adapted" or "Removed from all derived types", as appropriate.  Please
take a look.]

This patchset cleans up some parts of the Guile extension interface and
implementation.  Some changes are just clerical, and some change the
interface.  Still, it seems appropriate to hide the concept of "smobs"
from the Guile extension writer, as the extension interface is a Scheme
interface, and smobs are a C concept.

I have run the gdb.guile portion of the test suite at each patch.

Andy Wingo (9):
  Allow GDB to build against unreleased Guile 2.2
  Define and export Guile classes for all GDB object types
  Fix excess parentheses in Guile extension examples.
  Fix typos in documentation of Guile `execute' function
  Rename "gsmob" in Guile interface to "gdb object"
  Remove Guile GDB object property mechanism
  Remove Guile mark functions that don't mark anything
  Remove useless Guile SMOB marking functions
  Remove a useless Guile finalizer

 gdb/ChangeLog                              |  74 +++++++++
 gdb/configure                              |   2 +-
 gdb/configure.ac                           |   2 +-
 gdb/doc/ChangeLog                          |  19 +++
 gdb/doc/guile.texi                         |  60 ++-----
 gdb/guile/guile-internal.h                 |  43 +----
 gdb/guile/lib/gdb.scm                      |  25 ++-
 gdb/guile/scm-arch.c                       |  16 --
 gdb/guile/scm-block.c                      |  30 ----
 gdb/guile/scm-breakpoint.c                 |  21 ---
 gdb/guile/scm-exception.c                  |  18 ---
 gdb/guile/scm-frame.c                      |  12 --
 gdb/guile/scm-gsmob.c                      | 244 ++++-------------------------
 gdb/guile/scm-iterator.c                   |  19 ---
 gdb/guile/scm-lazy-string.c                |  16 --
 gdb/guile/scm-objfile.c                    |  21 ---
 gdb/guile/scm-pretty-print.c               |  41 -----
 gdb/guile/scm-symbol.c                     |  12 --
 gdb/guile/scm-symtab.c                     |  44 ------
 gdb/guile/scm-type.c                       |  29 ----
 gdb/guile/scm-value.c                      |  19 ---
 gdb/testsuite/ChangeLog                    |  11 ++
 gdb/testsuite/gdb.guile/scm-breakpoint.exp |  14 +-
 gdb/testsuite/gdb.guile/scm-generics.exp   |   2 +-
 gdb/testsuite/gdb.guile/scm-gsmob.exp      |  20 ++-
 25 files changed, 195 insertions(+), 619 deletions(-)

-- 
1.9.1


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