From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4F9F63858C52; Sat, 30 Dec 2023 12:20:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F9F63858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1703938844; bh=M8flmaOLa0/Mj24/O27KVUktsMLfVlJUj/oW0zxMDFg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Pv+Zjt/McrsRAjAXn5aEKLvt666kM+EmxT3JMykK0pM2mlqxp0pIgfozPCyeWQ0D5 wiFf6l/syyde8YpCM3Oo1EYNQxfSHEZ9Nxt5El8MVMEeMMU3feUmKhVOxTshS5KQ/N C90ObheVMHipylt4DzPU91FqwBTlW2KZQG7hrWjs= From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug c++/25116] rbreak regexp does not work as expected Date: Sat, 30 Dec 2023 12:20:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed cf_reconfirmed_on cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D25116 Hannes Domani changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2023-12-30 CC| |ssbssa at sourceware dot o= rg Status|UNCONFIRMED |NEW --- Comment #1 from Hannes Domani --- Character classes don't work because once a colon is found in the expressio= n, 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. --=20 You are receiving this mail because: You are on the CC list for the bug.=