gdb, btrace: improve error messages
authorMarkus Metzger <markus.t.metzger@intel.com>
Mon, 31 Jan 2022 06:24:54 +0000 (07:24 +0100)
committerMarkus Metzger <markus.t.metzger@intel.com>
Tue, 1 Feb 2022 16:44:38 +0000 (17:44 +0100)
commitcd393cec3ab21f6e8b984dea5dafe2c7a5aec892
tree768a2becd883fa544d482832bc9d153e490824c4
parent219c04fc3b3f7e7e19fc5f8d47e5036c7a80377f
gdb, btrace: improve error messages

When trying to use 'record btrace' on a system that does not support it,
the error message isn't as clear as it could be.  See
https://sourceware.org/pipermail/gdb/2022-January/049870.html.

Improve the error message in a few cases.

Reported-by: Simon Sobisch <simonsobisch@gnu.org>
gdb/nat/linux-btrace.c