]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/reverse: update error message for "reverse-" commands
authorGuinevere Larsen <guinevere@redhat.com>
Thu, 23 Oct 2025 18:05:33 +0000 (15:05 -0300)
committerGuinevere Larsen <guinevere@redhat.com>
Fri, 24 Oct 2025 18:44:31 +0000 (15:44 -0300)
commit12926e6ab8d0c93dd25de6970b0991f0484d03d2
treeb4270daa658520c4d127f437e08917d4a3eb1f33
parent157da75362cc082f8f8067155d137dfe98ac230c
gdb/reverse: update error message for "reverse-" commands

Before this change, when a user tried to use a command that executes the
inferior in reverse, they would get the following error message:
    Target multi-thread does not support this command.

As an end-user with no knowledge of the internals of GDB would have as a
best guess, that reverse execution as a whole would not be supported in
their system (verified by asking a couple new users).

This commit changes the message to avoid the internal terminology, and
to add a hint that the user may need to create a recording somehow to be
able to execute in reverse.

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