public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [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)
Date: Sat, 09 May 2020 10:20:28 +0000	[thread overview]
Message-ID: <bug-25955-4717@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2020-05-09 10:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-09 10:20 vries at gcc dot gnu.org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-25955-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).