From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8E91C3858414; Wed, 5 Jul 2023 12:04:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E91C3858414 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688558669; bh=BENACY6Z1FZSzQBtVvuTGtXpTe0X1YKNlFl8ATaz9LM=; h=From:To:Subject:Date:From; b=bhKR/DHi0DSRTNiJ898qYfhY9Nt1nFDPvzvABASAb5z2uzvpmP377zIvhWLH92Kjq SqoHsbYMfav2QqUyPKD8P/Rt0QwjstIBe36XdbVjApcHeFidYz0v9NweSNOUMxUF35 AZhlK35pdzzJ8LQIAP3Pp/7yKbpmZS6QbPUpLXQA= From: "dominik.b.czarnota+bugzilla at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30616] New: starti in a new inferior halts Date: Wed, 05 Jul 2023 12:04:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominik.b.czarnota+bugzilla at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D30616 Bug ID: 30616 Summary: starti in a new inferior halts Product: gdb Version: HEAD Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: dominik.b.czarnota+bugzilla at gmail dot com Target Milestone: --- When we clone an inferior and execute `starti` in it, GDB halts/freezes. This can be seen in the session below: ``` $ gdb --nx (gdb) file /bin/ls Reading symbols from /bin/ls... (No debugging symbols found in /bin/ls) (gdb) starti Starting program: /usr/bin/ls Program stopped. 0x00007ffff7fe32b0 in _start () from /lib64/ld-linux-x86-64.so.2 (gdb) clone-inferior [New inferior 2] Added inferior 2 on connection 1 (native) (gdb) inferior 2 [Switching to inferior 2 [] (/usr/bin/ls)] (gdb) starti Starting program: /usr/bin/ls ^C ``` The log comes from GDB 12.1 but I believe the same bug exists in GDB >=3D13. --=20 You are receiving this mail because: You are on the CC list for the bug.=