aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorYit Phang Khoo <khooyp@sourceware.org>2012-08-22 21:04:55 +0000
committerYit Phang Khoo <khooyp@sourceware.org>2012-08-22 21:04:55 +0000
commit037bbc8eeaf8e6f3a5e185e78268aa71a1159ae7 (patch)
tree202bf8881c03b44f3eb8dedee740ab76661a338b /gdb/ChangeLog
parent406b1477f51e5a4f953f2792fb14e5c3cf1dc1df (diff)
downloadgdb-037bbc8eeaf8e6f3a5e185e78268aa71a1159ae7.zip
gdb-037bbc8eeaf8e6f3a5e185e78268aa71a1159ae7.tar.gz
gdb-037bbc8eeaf8e6f3a5e185e78268aa71a1159ae7.tar.bz2
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ac628ce..cb69076 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,16 @@
+2012-08-22 Khoo Yit Phang <khooyp@cs.umd.edu>
+
+ 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.
+
2012-08-22 Keith Seitz <keiths@redhat.com>
* defs.h: Include build-gnulib/config.h