public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/25955] New: FAIL: gdb.mi/mi-catch-cpp-exceptions.exp: all with invalid regexp: run until breakpoint in main (unknown output after running)
@ 2020-05-09 10:20 vries at gcc dot gnu.org
  2020-05-09 10:20 ` [Bug c++/25955] " vries at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: vries at gcc dot gnu.org @ 2020-05-09 10:20 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=25955

            Bug ID: 25955
           Summary: FAIL: gdb.mi/mi-catch-cpp-exceptions.exp: all with
                    invalid regexp: run until breakpoint in main (unknown
                    output after running)
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

When running test-case gdb.mi/mi-catch-cpp-exceptions.exp, I run into:
...
PASS: gdb.mi/mi-catch-cpp-exceptions.exp: all with invalid regexp: Setup
-catch-catch
-exec-continue^M
^running^M
*running,thread-id="all"^M
(gdb) ^M
=breakpoint-modified,bkpt={number="13",type="catchpoint",disp="keep",enabled="y",what="exception
throw",catch-type="throw",thread-groups=["i1"],regexp="blahblah",times="1"}^M
mi_expect_stop: expecting:
\*stopped,reason="breakpoint-hit",disp="keep",bkptno="[0-9]+",frame={addr="0x[0-9A-Fa-f]+",func="main",args=\[.*\],(?:file="[^
]*.*",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*",line="67",arch="[^
]*"|from=".*")}.*,thread-id="[0-9]+",stopped-threads=[^
]*^M
(=thread-selected,id="[0-9]+"^M
|=(?:breakpoint-created|breakpoint-deleted)[^
]+"^M
)*[(]gdb[)] ^M
$
~"\n"^M
~"Catchpoint 13 (exception thrown), 0x00007ffff7ab037e in __cxa_throw () from
/usr/lib64/libstdc++.so.6\n"^M
*stopped,bkptno="13",reason="breakpoint-hit",disp="keep",frame={addr="0x00007ffff7ab037e",func="__cxa_throw",args=[],from="/usr/lib64/libstdc++.so.6",arch="i386:x86-64"},thread-id="1",stopped-threads="all",core="0"^M
(gdb) ^M
got
=breakpoint-modified,bkpt={number="13",type="catchpoint",disp="keep",enabled="y",what="exception
throw",catch-type="throw",thread-groups=["i1"],regexp="blahblah",times="1"}^M
~"\n"^M
~"Catchpoint 13 (exception thrown), 0x00007ffff7ab037e in __cxa_throw () from
/usr/lib64/libstdc++.so.6\n"^M
*stopped,bkptno="13",reason="breakpoint-hit",disp="keep",frame={addr="0x00007ffff7ab037e",func="__cxa_throw",args=[],from="/usr/lib64/libstdc++.so.6",arch="i386:x86-64"},thread-id="1",stopped-threads="all",core="0"^M
(gdb) ^M

FAIL: gdb.mi/mi-catch-cpp-exceptions.exp: all with invalid regexp: run until
breakpoint in main (unknown output after running)
...

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-09 18:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09 10:20 [Bug c++/25955] New: FAIL: gdb.mi/mi-catch-cpp-exceptions.exp: all with invalid regexp: run until breakpoint in main (unknown output after running) vries at gcc dot gnu.org
2020-05-09 10:20 ` [Bug c++/25955] " vries at gcc dot gnu.org
2020-05-09 10:24 ` vries at gcc dot gnu.org
2020-05-09 11:31 ` vries at gcc dot gnu.org
2020-05-09 12:02 ` vries at gcc dot gnu.org
2020-05-09 12:08 ` vries at gcc dot gnu.org
2020-05-09 12:24 ` [Bug gdb/25955] " vries at gcc dot gnu.org
2020-05-09 18:17 ` cvs-commit at gcc dot gnu.org
2020-05-09 18:19 ` vries at gcc dot gnu.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).