aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-07-02 10:57:34 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-07-02 10:57:34 +0000
commit202cbf1c525d01ed5d394d879de5d88ae3d00da1 (patch)
tree42c47b87bdeee719f7a8b504268435a8255719e9 /gdb/ChangeLog
parent586ec8c1d046b8f507c1df125c42ca7eba10e58e (diff)
downloadgdb-202cbf1c525d01ed5d394d879de5d88ae3d00da1.zip
gdb-202cbf1c525d01ed5d394d879de5d88ae3d00da1.tar.gz
gdb-202cbf1c525d01ed5d394d879de5d88ae3d00da1.tar.bz2
gdb/
Support shell wildcards for 'set auto-load safe-path'. * auto-load.c: Include fnmatch.h. (filename_is_in_dir): Rename to ... (filename_is_in_pattern_1, filename_is_in_pattern): ... here and split it. Update function comment. Rename dir_len to pattern_len. New variables filename_len, pattern and filename. Add more DEBUG_AUTO_LOAD messages. Use gdb_filename_fnmatch. (filename_is_in_auto_load_safe_path_vec): Rename variable dir to pattern. (_initialize_auto_load): Extend the "set auto-load safe-path" help text. * defs.h (gdb_filename_fnmatch): New declaration. * utils.c: Include fnmatch.h. (gdb_filename_fnmatch): New function. gdb/doc/ * gdb.texinfo (Auto-loading safe path): Note the shell wildcard possibility.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cd83584..3750621 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,19 @@
+2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Support shell wildcards for 'set auto-load safe-path'.
+ * auto-load.c: Include fnmatch.h.
+ (filename_is_in_dir): Rename to ...
+ (filename_is_in_pattern_1, filename_is_in_pattern): ... here and split
+ it. Update function comment. Rename dir_len to pattern_len. New
+ variables filename_len, pattern and filename. Add more DEBUG_AUTO_LOAD
+ messages. Use gdb_filename_fnmatch.
+ (filename_is_in_auto_load_safe_path_vec): Rename variable dir to
+ pattern.
+ (_initialize_auto_load): Extend the "set auto-load safe-path" help text.
+ * defs.h (gdb_filename_fnmatch): New declaration.
+ * utils.c: Include fnmatch.h.
+ (gdb_filename_fnmatch): New function.
+
2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
* breakpoint.c (BREAK_ARGS_HELP): Include help message for the new