commit | 02646a4c561ec88491114b87950cbb827c7d614c | [log] [tgz] |
---|---|---|
author | Fangrui Song <maskray@sourceware.org> | Sun Dec 29 14:57:44 2024 -0800 |
committer | Fangrui Song <maskray@sourceware.org> | Fri Jan 03 21:15:32 2025 -0800 |
tree | 141ce322af8de9f451a346fd48bf8856e8711c17 | |
parent | d8d3ed295efb75a7421340484e3fe8115402b1f2 [diff] |
skip -gfile: call fnmatch without FNM_FILE_NAME fnmatch is called with the FNM_FILE_NAME flag so that `skip -gfi /usr/*` doesn't match /usr/include/*. This makes the file matching feature not useful for STL headers that reside in multiple directories. In addition, the user cannot use a single `*` to match multiple leading path components. Let's drop the FNM_FILE_NAME flag and remove the assertion from gdb_filename_fnmatch (originally for the auto-load feature).