[Bug c++/25116] rbreak regexp does not work as expected
ssbssa at sourceware dot org
sourceware-bugzilla@sourceware.org
Sat Dec 30 12:20:43 GMT 2023
https://sourceware.org/bugzilla/show_bug.cgi?id=25116
Hannes Domani <ssbssa at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2023-12-30
CC| |ssbssa at sourceware dot org
Status|UNCONFIRMED |NEW
--- Comment #1 from Hannes Domani <ssbssa at sourceware dot org> ---
Character classes don't work because once a colon is found in the expression,
it uses the part before the colon as a filename qualification:
rbreak file:regex
If rbreak is called with a filename qualification, it limits the search for
functions matching the given regular expression to the specified file.
Currently an empty filename qualification matches no file, so I wonder if we
could change it so an empty filename qualification matches all files, then we
could do something like this instead:
(gdb) rbreak :myNameSpace[[:digit:]]
And everything after the first colon would be the regexp, still matching all
files.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list