aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-commands-breakpoint.c
diff options
context:
space:
mode:
authorFangrui Song <maskray@sourceware.org>2024-12-29 14:57:44 -0800
committerFangrui Song <maskray@sourceware.org>2025-01-03 21:15:32 -0800
commit02646a4c561ec88491114b87950cbb827c7d614c (patch)
tree141ce322af8de9f451a346fd48bf8856e8711c17 /gdb/testsuite/gdb.python/py-commands-breakpoint.c
parentd8d3ed295efb75a7421340484e3fe8115402b1f2 (diff)
downloadbinutils-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