aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2009-02-05 16:40:34 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2009-02-05 16:40:34 +0000
commit12453b93bd8de559235835300eac68118c4ade70 (patch)
tree89f3a0ec37a1034675e604a12d6b7afafb20e25d /gdb/doc
parent314b2e66793e9a59676f72ce191bcc2937c2e695 (diff)
downloadgdb-12453b93bd8de559235835300eac68118c4ade70.zip
gdb-12453b93bd8de559235835300eac68118c4ade70.tar.gz
gdb-12453b93bd8de559235835300eac68118c4ade70.tar.bz2
gdb/
2009-02-05 Tom Tromey <tromey@redhat.com> Thiago Jung Bauermann <bauerman@br.ibm.com> * python/python.c (GdbMethods): Move to bottom of file. (get_parameter, execute_gdb_command, gdbpy_write, gdbpy_flush): Remove forward declarations. (eval_python_from_control_command): Fix error checking of function PyRun_SimpleString. Fix error string. (python_command): Likewise. (execute_gdb_command): Added from_tty argument. gdb/doc/ 2009-02-05 Tom Tromey <tromey@redhat.com> * gdb.texinfo (Basic Python): Document execute's from_tty argument.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 677d74b..a23fa1f 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-05 Tom Tromey <tromey@redhat.com>
+
+ * gdb.texinfo (Basic Python): Document execute's from_tty
+ argument.
+
2009-02-04 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Basic Python): Document gdb.history.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 884f50b..99e5248 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -18078,11 +18078,15 @@ methods and classes added by @value{GDBN} are placed in this module.
use in all scripts evaluated by the @code{python} command.
@findex gdb.execute
-@defun execute command
+@defun execute command [from_tty]
Evaluate @var{command}, a string, as a @value{GDBN} CLI command.
If a GDB exception happens while @var{command} runs, it is
translated as described in @ref{Exception Handling,,Exception Handling}.
If no exceptions occur, this function returns @code{None}.
+
+@var{from_tty} specifies whether @value{GDBN} ought to consider this
+command as having originated from the user invoking it interactively.
+It must be a boolean value. If omitted, it defaults to @code{False}.
@end defun
@findex gdb.get_parameter