[PATCH v2 5/7] btrace, gdbserver: remove the to_supports_btrace target method
Maciej W. Rozycki
macro@mips.com
Sat Feb 24 16:51:00 GMT 2018
On Fri, 26 Jan 2018, Markus Metzger wrote:
> Remove the to_supports_btrace target method and instead rely on detecting errors
> when trying to enable recording. This will also provide a suitable error
> message explaining why recording is not possible.
Hmm, v3 of this change (apparently never posted), that is specifically
commit de6242d30757 ("btrace, gdbserver: remove the to_supports_btrace
target method"), has broken remote `mips-linux' target debugging
completely, that is an attempt to make a remote connection fails in the
initial handshake, e.g.:
Process .../gdb/testsuite/outputs/gdb.base/advance/advance created; pid = 25519
Listening on port 2346
target remote 1.2.3.4:2346
Remote debugging using 1.2.3.4:2346
Reading symbols from .../lib/ld.so.1...done.
0x77fc8de0 in __start () from .../lib/ld.so.1
Protocol error: qXfer:btrace-conf (read-btrace-conf) conflicting enabled responses.
(gdb) continue
The program is not being run.
(gdb) FAIL: gdb.base/advance.exp: can't run to main
See the attached RSP packet exchange log for details. Please investigate.
Maciej
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdb.txt
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20180224/b447049b/attachment.txt>
More information about the Gdb-patches
mailing list