]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/help: Update help message for target record-core
authorGuinevere Larsen <guinevere@redhat.com>
Fri, 24 Oct 2025 11:43:46 +0000 (08:43 -0300)
committerGuinevere Larsen <guinevere@redhat.com>
Mon, 27 Oct 2025 11:54:02 +0000 (08:54 -0300)
commitc523ce154d7708cfbc6eb18bfd77b861c023c688
tree0342092e72653fccc695bb8e4bc1c12f073e75a9
parentd5e0fcae59d3f673f2018d01cfa907907190321a
gdb/help: Update help message for target record-core

Before this commit, the help message for target record-core is the same
as the help message for target record-full, which is the following:
    Log program while executing and replay execution from log.

For one, having the same message is unhelpful, since it doesn't tell
users what the difference between the two is.  But, more importantly,
that message seems to also be incorrect, since attempting to execute the
inferior forward from a restored file past the end of history will crash
GDB, since there isn't an actual live inferior to run.

To fix this, the help text is updated to the following:
    Load a saved execution log, allowing replay of the last instructions
This message doesn't imply that future execution is supported, while it
shows that replaying within recorded instructions *is* supported.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/record-full.c