This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog Makefile.in python/python-in ...
- From: khooyp at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 22 Aug 2012 21:04:56 -0000
- Subject: src/gdb ChangeLog Makefile.in python/python-in ...
CVSROOT: /cvs/src
Module name: src
Changes by: khooyp@sourceware.org 2012-08-22 21:04:56
Modified files:
gdb : ChangeLog Makefile.in
gdb/python : python-internal.h python.c
Added files:
gdb/python : py-gdb-readline.c
Log message:
Enable readline in Python in a GDB-specific way and block the
standard Python readline module to prevent conflicts with GDB.
* Makefile.in (SUBDIR_PYTHON_OBS): Add py-gdb-readline.o.
(SUBDIR_PYTHON_SRCS): Add python/py-gdb-readline.c.
(py-gdb-readline.o): Add rule to compile python/py-gdb-readline.c.
* python/py-gdb-readline.c: New file.
* python/python-internal.h (gdbpy_initialize_gdb_readline): New
prototype.
* python/python.c (_initialize_python): Call
gdbpy_initialize_gdb_readline.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14621&r2=1.14622
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&r1=1.1214&r2=1.1215
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-gdb-readline.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python-internal.h.diff?cvsroot=src&r1=1.57&r2=1.58
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python.c.diff?cvsroot=src&r1=1.93&r2=1.94