* configure.ac (CONFIG_SRCS): Add py-auto-load.o even if not using
authorDoug Evans <dje@google.com>
Fri, 23 Apr 2010 18:09:16 +0000 (18:09 +0000)
committerDoug Evans <dje@google.com>
Fri, 23 Apr 2010 18:09:16 +0000 (18:09 +0000)
commit88a1906b0da33e2905cce61e133b67cdde314847
tree8aad3a1bd84d470955e81b5eb1c79efc3ff1f7dd
parent66d0954266e5613064244015f3963ea617463ecf
* configure.ac (CONFIG_SRCS): Add py-auto-load.o even if not using
python.
* configure: Regenerate.
* main.c: #include "python/python.h".
(captured_main): Defer loading auto-loaded scripts until after
local_gdbinit has been sourced.
* python/py-auto-load.c (gdbpy_global_auto_load): New global.
(load_auto_scripts_for_objfile): New function.
(auto_load_new_objfile): Call it.
* python/python.h (gdbpy_global_auto_load): Declare.
(load_auto_scripts_for_objfile): Declare.
gdb/ChangeLog
gdb/configure
gdb/configure.ac
gdb/main.c
gdb/python/py-auto-load.c
gdb/python/python.h