This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. ded0378278c7bbd5c6049446032b28196a5cfb38
- From: devans at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 3 Jun 2014 06:47:32 -0000
- Subject: gdb and binutils branch master updated. ded0378278c7bbd5c6049446032b28196a5cfb38
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via ded0378278c7bbd5c6049446032b28196a5cfb38 (commit)
from 397998fc32a34d3c8993ef46da45c3957a4dd402 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ded0378278c7bbd5c6049446032b28196a5cfb38
commit ded0378278c7bbd5c6049446032b28196a5cfb38
Author: Doug Evans <xdje42@gmail.com>
Date: Mon Jun 2 23:46:27 2014 -0700
Add progspace support for Guile.
* Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
(SUBDIR_GUILE_SRCS): Add scm-progspace.c.
(scm-progspace.o): New rule.
* guile/guile-internal.h (pspace_smob): New typedef.
(psscm_pspace_smob_pretty_printers): Declare.
(psscm_pspace_smob_from_pspace): Declare.
(psscm_scm_from_pspace): Declare.
* guile/guile.c (initialize_gdb_module): Call
gdbscm_initialize_pspaces.
* guile/lib/gdb.scm: Export progspace symbols.
* guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
support.
(append-pretty-printer!): Ditto.
* guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
Implement.
* guile/scm-progspace.c: New file.
doc/
* guile.texi (Guile API): Add entry for Progspaces In Guile.
(GDB Scheme Data Types): Mention <gdb:progspace> object.
(Progspaces In Guile): New node.
testsuite/
* gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
pretty-printer lookup.
* gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
(make-pp_s-printer): Call it.
(make-pretty-printer-from-dict): New function.
(lookup-pretty-printer-maker-from-dict): New function.
(*pretty-printer*): Simplify.
(make-objfile-pp_s-printer): New function.
(install-objfile-pretty-printers!): New function.
(make-progspace-pp_s-printer): New function.
(install-progspace-pretty-printers!): New function.
* gdb.guile/scm-progspace.c: New file.
* gdb.guile/scm-progspace.exp: New file.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 20 +
gdb/Makefile.in | 6 +
gdb/doc/ChangeLog | 6 +
gdb/doc/guile.texi | 78 ++++
gdb/guile/guile-internal.h | 11 +
gdb/guile/guile.c | 1 +
gdb/guile/lib/gdb.scm | 11 +
gdb/guile/lib/gdb/printing.scm | 21 +-
gdb/guile/scm-pretty-print.c | 6 +-
gdb/guile/scm-progspace.c | 426 ++++++++++++++++++++
gdb/testsuite/ChangeLog | 16 +
gdb/testsuite/gdb.guile/scm-pretty-print.exp | 12 +-
gdb/testsuite/gdb.guile/scm-pretty-print.scm | 83 +++-
.../py-progspace.c => gdb.guile/scm-progspace.c} | 0
gdb/testsuite/gdb.guile/scm-progspace.exp | 92 +++++
15 files changed, 761 insertions(+), 28 deletions(-)
create mode 100644 gdb/guile/scm-progspace.c
copy gdb/testsuite/{gdb.python/py-progspace.c => gdb.guile/scm-progspace.c} (100%)
create mode 100644 gdb/testsuite/gdb.guile/scm-progspace.exp
hooks/post-receive
--
gdb and binutils