[Bug c++/25116] New: rbreak regexp does not work as expected

hbdevelop1 at gmail dot com sourceware-bugzilla@sourceware.org
Sat Oct 19 05:24:00 GMT 2019


            Bug ID: 25116
           Summary: rbreak regexp does not work as expected
           Product: gdb
           Version: 8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: hbdevelop1 at gmail dot com
  Target Milestone: ---

While the doc says rbreak command uses grep's regexp, 
my findings are that it doesn't support it. 

It doesn't support character classes:
(gdb) rbreak myNameSpace[[:digit:]]

(gdb) rbreak myNameSpace
matches any function begining in myNameSpace

(gdb) rbreak myNameSpace.
(gdb) rbreak myNameSpace*
match the same functions !!!

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Gdb-prs mailing list