aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorDon Breazeal <donb@codesourcery.com>2016-07-15 11:19:19 -0700
committerDon Breazeal <donb@codesourcery.com>2016-07-15 11:19:19 -0700
commit37539ebee2ea9fc0daceaae1074a79de88d563fb (patch)
tree4e57deaea2cd3707113d3d386d3ed55d97daeaec /bfd/bfd-in.h
parent76359541825cf36ecd14ab6b5974ee56e1c59eff (diff)
downloadgdb-37539ebee2ea9fc0daceaae1074a79de88d563fb.zip
gdb-37539ebee2ea9fc0daceaae1074a79de88d563fb.tar.gz
gdb-37539ebee2ea9fc0daceaae1074a79de88d563fb.tar.bz2
GDB testsuite: Escape paths used in regular expressions
This patch fixes problems with a few GDB testsuites when executing in a path that contains special characters (e.g. "++"). When such paths are used as a regular expression, the regular expression parser will choke and cause the tests to fail. This patch uses string_to_regexp to escape strings that will be used as regular expressions, in order to sanitize path names used in expect scripts. 2016-07-15 Zachary Welch <zwelch@codesourcery.com> Don Breazeal <donb@codesourcery.com> gdb/testsuite/ChangeLog: * gdb.base/maint.exp: Escape paths used in regular expressions. * gdb.stabs/weird.exp: Likewise.
Diffstat (limited to 'bfd/bfd-in.h')
0 files changed, 0 insertions, 0 deletions