This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12149] sys.stderr uses gdb.write() which writes tostdout
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 18 Mar 2011 08:45:13 +0000
- Subject: [Bug python/12149] sys.stderr uses gdb.write() which writes tostdout
- Auto-submitted: auto-generated
- References: <bug-12149-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12149
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-03-18 08:44:53 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: pmuldoon@sourceware.org 2011-03-18 08:44:48
Modified files:
gdb : ChangeLog
gdb/doc : ChangeLog gdb.texinfo
gdb/python : python.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.python: python.exp
Log message:
2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
PR python/12149
* python/python.c (gdbpy_write): Accept a stream argument and
operate to the appropriate stream.
(gdbpy_flush): Likewise.
(_initialize_python): Add stream constants.
(finish_python_initialization): Add GdbOutputErrorFile class.
2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
PR python/12149
* gdb.texinfo (Basic Python): Update gdb.write and flush text.
2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
PR python/12149
* gdb.python/python.exp: Add gdb.write tests.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12829&r2=1.12830
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1165&r2=1.1166
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.813&r2=1.814
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python.c.diff?cvsroot=src&r1=1.62&r2=1.63
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2638&r2=1.2639
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/python.exp.diff?cvsroot=src&r1=1.20&r2=1.21
--
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.