This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/10808] Allow GDB/Python API to capture and store GDB output
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 25 Jun 2010 18:16:27 -0000
- Subject: [Bug python/10808] Allow GDB/Python API to capture and store GDB output
- References: <20091019103003.10808.pmuldoon@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-06-25 18:15 -------
Subject: Bug 10808
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2010-06-25 18:15:21
Modified files:
gdb : ChangeLog
gdb/doc : ChangeLog gdb.texinfo
gdb/python : python.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.python: python.exp
Log message:
gdb
PR python/10808:
* python/python.c (execute_gdb_command): Add keywords. Accept
"to_string" argument.
(struct restore_ui_file_closure): New.
(restore_ui_file): New function.
(make_cleanup_restore_ui_file): Likewise.
(GdbMethods) <execute>: Update.
gdb/doc
PR python/10808:
* gdb.texinfo (Basic Python): Document new gdb.execute argument.
gdb/testsuite
PR python/10808:
* gdb.python/python.exp: Add new tests.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11931&r2=1.11932
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1076&r2=1.1077
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.730&r2=1.731
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python.c.diff?cvsroot=src&r1=1.42&r2=1.43
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2352&r2=1.2353
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/python.exp.diff?cvsroot=src&r1=1.8&r2=1.9
------- Additional Comments From tromey at redhat dot com 2010-06-25 18:16 -------
Fix checked in.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|7.1 |7.2
http://sourceware.org/bugzilla/show_bug.cgi?id=10808
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.