This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make the "python" command resemble the standard Python interpreter


>>>>> "Yit" == Khoo Yit Phang <khooyp@cs.umd.edu> writes:

Yit> It should be possible to replace raw_input with one that works with
Yit> GDB, but that can be another patch.

Yit> Making Python's readline module work under GDB is not possible, since
Yit> it re-initializes libreadline and generally assumes that libreadline
Yit> is completely under Python's control (and libreadline itself has no
Yit> support for nesting/reentrancy).

Yit> It should also be possible to write a wrapper module around readline
Yit> that avoids conflicts with GDB, but that'll take some more work.

Would you mind filing bugs for these discoveries you've made?
That would be handy.

I didn't re-read the patches yet.  I plan to wait until your paperwork
is done; then please just re-post the latest versions with commentary.

thanks,
Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]