From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 202A9385781F; Tue, 7 Sep 2021 14:51:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 202A9385781F From: "arnez at linux dot ibm.com" To: gdb-prs@sourceware.org Subject: [Bug backtrace/28313] New: [s390] "PC not saved" when debugging without binary Date: Tue, 07 Sep 2021 14:51:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: backtrace X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arnez at linux dot ibm.com 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: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2021 14:51:45 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28313 Bug ID: 28313 Summary: [s390] "PC not saved" when debugging without binary Product: gdb Version: unknown Status: NEW Severity: normal Priority: P2 Component: backtrace Assignee: unassigned at sourceware dot org Reporter: arnez at linux dot ibm.com Target Milestone: --- Several people have seen a "PC not saved" error when trying to debug progra= ms without an associated binary on s390x. One way this can be reproduced is by attaching to a program whose binary has been deleted: (gdb) attach 3272749 Attaching to process 3272749 No executable file now. warning: Could not load vsyscall page because no executable was specified 0x000003fffddcf186 in ?? () (gdb) display/i $pc 1: x/i $pc =3D> 0x3fffddcf186: lghi %r1,-4096 (gdb) si PC not saved (gdb) p $pc $1 =3D (void (*)()) 0x3fffddcf18a Note that the "PC not saved" error prevents the printing of the auto-display expression in this case. --=20 You are receiving this mail because: You are on the CC list for the bug.=