public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug record/31224] New: Hard to understand warning when reaching end of reverse-execution history
@ 2024-01-09 15:41 blarsen at redhat dot com
  2024-01-09 15:41 ` [Bug record/31224] " blarsen at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: blarsen at redhat dot com @ 2024-01-09 15:41 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31224
           Summary: Hard to understand warning when reaching end of
                    reverse-execution history
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: record
          Assignee: unassigned at sourceware dot org
          Reporter: blarsen at redhat dot com
  Target Milestone: ---

Currently, if a user is running a record session, moves backwards a bit and
moves forward again, they may hit the following warning:

> No more reverse-execution history.

My very scientific testing of asking one end user highlighted that this message
sounds like GDB will be unable to move the inferior forward, when all it means
is that we will make the CPU actually execute the inferior, instead of
simulating it.

This is made worse because when the inferior executes backwards to the end of
the history, GDB really can't make the inferior continue backwards and the
message is exactly the same.

It would be nice if the warning was different when moving forward, and was
reworded to make clear that the inferior can continue executing. I would
suggest changing it to:

> No more reverse-execution history. Switching to normal execution

However, I'm open to other ideas.

-- 
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-24 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-09 15:41 [Bug record/31224] New: Hard to understand warning when reaching end of reverse-execution history blarsen at redhat dot com
2024-01-09 15:41 ` [Bug record/31224] " blarsen at redhat dot com
2024-02-24 10:25 ` achronop at gmail dot com
2024-02-24 15:28 ` blarsen at redhat dot com

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).