aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo10
2 files changed, 16 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 385e919..8dd273c 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
+
+ * gdb.texinfo (Symbol Tables In Python): Add documentation about
+ the new methods global_block and static_block on gdb.Symtab
+ objects.
+
2012-05-02 Siva Chandra Reddy <sivachandra@google.com>
* gdb.texinfo (Blocks In Python): Add a note saying that future
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index e0b8529..014b39b 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -25038,6 +25038,16 @@ if it is invalid at the time the method is called.
@defun Symtab.fullname ()
Return the symbol table's source absolute file name.
@end defun
+
+@defun Symtab.global_block ()
+Return the global block of the underlying symbol table.
+@xref{Blocks In Python}.
+@end defun
+
+@defun Symtab.static_block ()
+Return the static block of the underlying symbol table.
+@xref{Blocks In Python}.
+@end defun
@end table
@node Breakpoints In Python