diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-08-27 16:50:54 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-08-27 16:50:54 +0000 |
commit | e96877996081948d7f0f9ee2152b2e409781def3 (patch) | |
tree | dfd3d2d9a261ba608855b8942f8194ca5105b2de /gdb/doc | |
parent | 7afa16426aa2d92b2b59d4b7ce1e4d3e4421ff31 (diff) | |
download | gdb-e96877996081948d7f0f9ee2152b2e409781def3.zip gdb-e96877996081948d7f0f9ee2152b2e409781def3.tar.gz gdb-e96877996081948d7f0f9ee2152b2e409781def3.tar.bz2 |
gdb/
* auto-load.c (auto_load_objfile_script): Rename to ...
(auto_load_objfile_script_1): ... here, change variable realname to
parameter realname, document it, add return value, add variable retval.
(auto_load_objfile_script): New function.
gdb/doc/
* gdb.texinfo (objfile-gdb.py file): New paragraph for .exe stripping.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 10fd3b5..d6adef4 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com> + + * gdb.texinfo (objfile-gdb.py file): New paragraph for .exe stripping. + 2012-08-23 Khoo Yit Phang <khooyp@cs.umd.edu> Document how to return from "python-interactive" to GDB. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 534b218..2d49e13 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -25784,6 +25784,13 @@ If this file does not exist, then @value{GDBN} will look for Note that loading of this script file also requires accordingly configured @code{auto-load safe-path} (@pxref{Auto-loading safe path}). +For object files using @file{.exe} suffix @value{GDBN} tries to load first the +scripts normally according to its @file{.exe} filename. But if no scripts are +found @value{GDBN} also tries script filenames matching the object file without +its @file{.exe} suffix. This @file{.exe} stripping is case insensitive and it +is attempted on any platform. This makes the script filenames compatible +between Unix and MS-Windows hosts. + @table @code @anchor{set auto-load scripts-directory} @kindex set auto-load scripts-directory |