aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndy Wingo <wingo@igalia.com>2015-03-11 14:20:06 +0100
committerAndy Wingo <wingo@igalia.com>2015-03-11 14:20:06 +0100
commit85642ba08c459bb2f9d1e7beffa1871c9a93ca66 (patch)
tree23a625556fd3e2f894ac3d656f654ed8d2d8a0e8 /gdb/doc
parent92fab5a61707cd3b487219ea9efa0e410cde3bc4 (diff)
downloadgdb-85642ba08c459bb2f9d1e7beffa1871c9a93ca66.zip
gdb-85642ba08c459bb2f9d1e7beffa1871c9a93ca66.tar.gz
gdb-85642ba08c459bb2f9d1e7beffa1871c9a93ca66.tar.bz2
Add objfile-progspace to Guile interface
This commit adds an objfile-progspace accessor to the (gdb) Guile module. gdb/testsuite/ChangeLog: * gdb.guile/scm-objfile.exp: Add objfile-progspace test. gdb/doc/ChangeLog: * guile.texi (Objfiles In Guile): Document objfile-progspace. gdb/ChangeLog: * guile/scm-objfile.c (gdbscm_objfile_progspace): New function. (objfile_functions): Bind gdbscm_objfile_progspace to objfile-progspace. * guile/lib/gdb.scm: Add objfile-progspace to exports.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/guile.texi5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 92d1d45..0a1db36 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-11 Andy Wingo <wingo@igalia.com>
+
+ * guile.texi (Objfiles In Guile): Document objfile-progspace.
+
2015-03-04 Pedro Alves <palves@redhat.com>
* gdb.texinfo (Remote Configuration): Document the "set/show
diff --git a/gdb/doc/guile.texi b/gdb/doc/guile.texi
index 53e69f2..4a4365c 100644
--- a/gdb/doc/guile.texi
+++ b/gdb/doc/guile.texi
@@ -2250,6 +2250,11 @@ Return the file name of @var{objfile} as a string,
with symbolic links resolved.
@end deffn
+@deffn {Scheme Procedure} objfile-progspace objfile
+Return the @code{<gdb:progspace>} that this object file lives in.
+@xref{Progspaces In Guile}, for more on progspaces.
+@end deffn
+
@deffn {Scheme Procedure} objfile-pretty-printers objfile
Return the list of registered @code{<gdb:pretty-printer>} objects for
@var{objfile}. @xref{Guile Pretty Printing API}, for more information.