[commit] [patch 1/2] auto-load safe-path: Permit shell wildcards
Jan Kratochvil
jan.kratochvil@redhat.com
Mon Jul 2 10:58:00 GMT 2012
On Fri, 22 Jun 2012 16:41:10 +0200, Jan Kratochvil wrote:
> gdb/
> 2012-06-20 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.
>
> gdb/doc/
> 2012-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.texinfo (Auto-loading safe path): Note the shell wildcard
> possibility.
Checked in:
http://sourceware.org/ml/gdb-cvs/2012-07/msg00007.html
Thanks,
Jan
More information about the Gdb-patches
mailing list