gdb smob cleanups
authorAndy Wingo <wingo@igalia.com>
Tue, 27 May 2014 00:34:27 +0000 (17:34 -0700)
committerDoug Evans <xdje42@gmail.com>
Tue, 27 May 2014 00:34:27 +0000 (17:34 -0700)
commitb2715b270ae27eccefe8edbbacb3910bc7cc9383
treece6fc357f9c5618a691f7b1bd06446e439fecd21
parent3ce6e9727987728ad8afa28ecfdece0375501988
gdb smob cleanups

* guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
empty_base_class.  All uses updated.
(gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
(gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
Adapt all callers.
* guile/scm-gsmob.c (gdbscm_mark_gsmob)
(gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
(gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
(gdbscm_gsmob_has_property_p, add_property_name)
(gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
* guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
(gdb-object-has-property?, gdb-object-properties): Remove.
(gdb-object-kind): Renamed from gsmob-kind.

doc/
* guile.texi (GDB Scheme Data Types): Remove documentation for
removed interfaces.  Update spelling of gdb-object-kind.

testsuite/
* gdb.guile/scm-breakpoint.exp:
* gdb.guile/scm-gsmob.exp: Update to use plain old object
properties instead of gdb-object-properties.
22 files changed:
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/guile.texi
gdb/guile/guile-internal.h
gdb/guile/lib/gdb.scm
gdb/guile/scm-arch.c
gdb/guile/scm-block.c
gdb/guile/scm-breakpoint.c
gdb/guile/scm-exception.c
gdb/guile/scm-frame.c
gdb/guile/scm-gsmob.c
gdb/guile/scm-iterator.c
gdb/guile/scm-lazy-string.c
gdb/guile/scm-objfile.c
gdb/guile/scm-pretty-print.c
gdb/guile/scm-symbol.c
gdb/guile/scm-symtab.c
gdb/guile/scm-type.c
gdb/guile/scm-value.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.guile/scm-breakpoint.exp
gdb/testsuite/gdb.guile/scm-gsmob.exp