2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Fri, 18 Mar 2011 08:44:47 +0000 (08:44 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Fri, 18 Mar 2011 08:44:47 +0000 (08:44 +0000)
commit99c3dc11e424a5f6cc9749fabd34f8c0d80cac9f
tree19df7ea1eadefc9afc0a06fe63720c751a35b4dd
parentc20800befe98654599697c9bae2a69359ef5d0d0
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.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/python/python.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/python.exp