public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/25116] rbreak regexp does not work as expected
       [not found] <bug-25116-4717@http.sourceware.org/bugzilla/>
@ 2023-12-30 12:20 ` ssbssa at sourceware dot org
  0 siblings, 0 replies; only message in thread
From: ssbssa at sourceware dot org @ 2023-12-30 12:20 UTC (permalink / raw)
  To: gdb-prs

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-30 12:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-25116-4717@http.sourceware.org/bugzilla/>
2023-12-30 12:20 ` [Bug c++/25116] rbreak regexp does not work as expected ssbssa at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).