* top.c: #include "python/python.h".
authorDoug Evans <dje@google.com>
Tue, 2 Nov 2010 16:48:43 +0000 (16:48 +0000)
committerDoug Evans <dje@google.com>
Tue, 2 Nov 2010 16:48:43 +0000 (16:48 +0000)
commit9dea9163560f26f9adddd13254ad32f4aea3b1d6
tree524bda94e28e26bc3ae3bc014c9b499887c70b7f
parentffa54e5c48223b42840f93e56a5eff69998ab4e1
* top.c: #include "python/python.h".
(gdb_init): Add a comment regarding initialize_all_files.
Call finish_python_initialization at the end.
* python/python.h (finish_python_initialization): Declare.
* python/python.c (finish_python_initialization): New function.
(_initialize_python): Move python-implemented initialization there
and call it.
(GdbMethods): Use #ifdef HAVE_PYTHON for consistency.
gdb/ChangeLog
gdb/python/python.c
gdb/python/python.h
gdb/top.c