This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12173] gdb.execute(..., to_string=True) does not captureall output
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 1 Nov 2010 02:06:34 +0000
- Subject: [Bug python/12173] gdb.execute(..., to_string=True) does not captureall output
- Auto-submitted: auto-generated
- References: <bug-12173-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12173
Jan Kratochvil <jan.kratochvil at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jan.kratochvil at redhat
| |dot com
Resolution| |WORKSFORME
--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2010-11-01 02:06:14 UTC ---
It works with HEAD (will be 7.3).
IIRC it may have been fixed by this patch:
http://sourceware.org/ml/gdb-patches/2010-09/msg00235.html
Thanks.
GNU gdb (GDB) 7.2.50.20101020-cvs
(gdb) python gdb.execute('break main', to_string=True)
(gdb) python gdb.execute('run', to_string=True)
(gdb)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.