public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/10808] New: Allow GDB/Python API to capture and store GDB output
@ 2009-10-19 10:30 pmuldoon at redhat dot com
2009-10-19 13:19 ` [Bug python/10808] " drow at sources dot redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: pmuldoon at redhat dot com @ 2009-10-19 10:30 UTC (permalink / raw)
To: gdb-prs
Daniel Jacobowitz wrote about some Python/GDB experiences and bugs in the email:
http://sourceware.org/ml/archer/2009-q4/msg00008.html
This bug (and others in their own bugs) is extracted from that email to track
the issue:
* It would be really useful to temporarily redirect GDB output to a
memory buffer, i.e. a version of gdb.execute that captured the
command's output. Especially where there aren't specific Python
bindings for what I wanted.
--
Summary: Allow GDB/Python API to capture and store GDB output
Product: gdb
Version: archer
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: python
AssignedTo: unassigned at sourceware dot org
ReportedBy: pmuldoon at redhat dot com
CC: gdb-prs at sourceware dot org
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/10808] Allow GDB/Python API to capture and store GDB output
2009-10-19 10:30 [Bug python/10808] New: Allow GDB/Python API to capture and store GDB output pmuldoon at redhat dot com
@ 2009-10-19 13:19 ` drow at sources dot redhat dot com
2010-06-10 19:55 ` tromey at redhat dot com
2010-06-25 18:16 ` tromey at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: drow at sources dot redhat dot com @ 2009-10-19 13:19 UTC (permalink / raw)
To: gdb-prs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |drow at sources dot redhat
| |dot com
Summary|Allow GDB/Python API to |Allow GDB/Python API to
|capture and store GDB output|capture and store GDB output
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/10808] Allow GDB/Python API to capture and store GDB output
2009-10-19 10:30 [Bug python/10808] New: Allow GDB/Python API to capture and store GDB output pmuldoon at redhat dot com
2009-10-19 13:19 ` [Bug python/10808] " drow at sources dot redhat dot com
@ 2010-06-10 19:55 ` tromey at redhat dot com
2010-06-25 18:16 ` tromey at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2010-06-10 19:55 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2010-06-10 19:55 -------
Testing a patch.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware dot|tromey at redhat dot com
|org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2010-06-10 19:55:33
date| |
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/10808] Allow GDB/Python API to capture and store GDB output
2009-10-19 10:30 [Bug python/10808] New: Allow GDB/Python API to capture and store GDB output pmuldoon at redhat dot com
2009-10-19 13:19 ` [Bug python/10808] " drow at sources dot redhat dot com
2010-06-10 19:55 ` tromey at redhat dot com
@ 2010-06-25 18:16 ` tromey at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2010-06-25 18:16 UTC (permalink / raw)
To: gdb-prs
------- 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-06-25 18:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-19 10:30 [Bug python/10808] New: Allow GDB/Python API to capture and store GDB output pmuldoon at redhat dot com
2009-10-19 13:19 ` [Bug python/10808] " drow at sources dot redhat dot com
2010-06-10 19:55 ` tromey at redhat dot com
2010-06-25 18:16 ` tromey at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).