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 0/8] Cleanups to Guile extension interface


[Apologies for the previous thread; it mixed two versions of this
patchset.  I am an idiot.  Let's give this another go.]

Hi,

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/configure                              |   5 +-
 gdb/configure.ac                           |   2 +-
 gdb/doc/guile.texi                         |  60 ++------
 gdb/guile/guile-internal.h                 |  43 +-----
 gdb/guile/lib/gdb.scm                      |  28 +++-
 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                      | 238 +++--------------------------
 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/gdb.guile/scm-breakpoint.exp |  14 +-
 gdb/testsuite/gdb.guile/scm-generics.exp   |   2 +-
 gdb/testsuite/gdb.guile/scm-gsmob.exp      |  20 ++-
 22 files changed, 89 insertions(+), 621 deletions(-)

-- 
1.9.1


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