gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 17 Sep 2012 18:26:06 +0000 (18:26 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 17 Sep 2012 18:26:06 +0000 (18:26 +0000)
commit9a950c7c83c510ecf83511ac460b8c6afe4d37fb
treec37eb7fde6249da14779ca1abfd856b60c6fddf6
parent5ec61378372b535bfadce78ffa5832623b2ac99c
gdb/
Implement auto-load user conveniences suggested by Doug Evans.
* auto-load.c: Include top.h.
(file_is_auto_load_safe): New variable advice_printed.  Print advice.
(_initialize_auto_load): New variable scripts_directory_help.  Mention
GDBPY_AUTO_FILE_NAME and GDB_AUTO_FILE_NAME for set auto-load
scripts-directory.  Document in online help one can use also files for
set auto-load safe-path.
* python/py-auto-load.c: (GDBPY_AUTO_FILE_NAME): Move it from here ...
* python/python.h (GDBPY_AUTO_FILE_NAME): ... to here.
gdb/ChangeLog
gdb/auto-load.c
gdb/python/py-auto-load.c
gdb/python/python.h