public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug backtrace/28313] New: [s390] "PC not saved" when debugging without binary
@ 2021-09-07 14:51 arnez at linux dot ibm.com
  2021-09-16 17:32 ` [Bug backtrace/28313] " ulrich.weigand at de dot ibm.com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: arnez at linux dot ibm.com @ 2021-09-07 14:51 UTC (permalink / raw)
  To: gdb-prs

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

            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 programs
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
=> 0x3fffddcf186:       lghi    %r1,-4096
(gdb) si
PC not saved
(gdb) p $pc
$1 = (void (*)()) 0x3fffddcf18a

Note that the "PC not saved" error prevents the printing of the auto-display
expression in this case.

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

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

end of thread, other threads:[~2024-02-02 15:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 14:51 [Bug backtrace/28313] New: [s390] "PC not saved" when debugging without binary arnez at linux dot ibm.com
2021-09-16 17:32 ` [Bug backtrace/28313] " ulrich.weigand at de dot ibm.com
2021-09-16 17:49 ` keiths at redhat dot com
2024-02-02 15:37 ` cvs-commit 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).