diff options
author | Fangrui Song <maskray@sourceware.org> | 2024-12-29 14:57:44 -0800 |
---|---|---|
committer | Fangrui Song <maskray@sourceware.org> | 2025-01-03 21:15:32 -0800 |
commit | 02646a4c561ec88491114b87950cbb827c7d614c (patch) | |
tree | 141ce322af8de9f451a346fd48bf8856e8711c17 /gdb/testsuite/gdb.python/py-commands-breakpoint.c | |
parent | d8d3ed295efb75a7421340484e3fe8115402b1f2 (diff) | |
download | binutils-02646a4c561ec88491114b87950cbb827c7d614c.zip binutils-02646a4c561ec88491114b87950cbb827c7d614c.tar.gz binutils-02646a4c561ec88491114b87950cbb827c7d614c.tar.bz2 |
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).
Diffstat (limited to 'gdb/testsuite/gdb.python/py-commands-breakpoint.c')
0 files changed, 0 insertions, 0 deletions