]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Revert "skip -gfile: call fnmatch without FNM_FILE_NAME"
authorAndrew Burgess <aburgess@redhat.com>
Mon, 9 Feb 2026 16:31:23 +0000 (16:31 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Wed, 11 Feb 2026 12:54:13 +0000 (12:54 +0000)
commitf08ffbbf2691bad2d5df660ee644647687775f0c
tree057b89fb643977984e06290fc4ebcecf97b94218
parent3748a597ca7a557c69270ee3d08bb37ccc03ad81
Revert "skip -gfile: call fnmatch without FNM_FILE_NAME"

This reverts commit 02646a4c561ec88491114b87950cbb827c7d614c.  See:

  https://inbox.sourceware.org/gdb-patches/20260203185528.946918-1-guinevere@redhat.com

This commit introduced a non backward compatible change to how GDB
handled skip files.  Something like:

  skip -gfile dir/*.c

no longer matches every file within 'dir/', but now matches every file
in 'dir/' and within every sub-directory of 'dir/', which might not be
what the user wanted.

The original intention behind the commit is solid, we just need to
find a better implementation.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33872
gdb/doc/gdb.texinfo
gdb/skip.c
gdb/symtab.c
gdb/utils.c