[OBV] gdbserver: Only write ipa_tdesc_idx if agent is actually loaded.
authorMarcin Kościelnicki <koriakin@0x04.net>
Wed, 2 Mar 2016 16:18:29 +0000 (17:18 +0100)
committerMarcin Kościelnicki <koriakin@0x04.net>
Wed, 2 Mar 2016 16:18:29 +0000 (17:18 +0100)
commit6896a8fa1e1d24a8fcc9b30efc0b195246b46029
tree993a1d5a43aaaa46f1e8d9294d70421f0f9d1597
parent065ab6dc804575bce7df58477b2cfcb2b2a6eafb
[OBV] gdbserver: Only write ipa_tdesc_idx if agent is actually loaded.

Fixes rather embarassing gdb.trace regressions.

gdb/gdbserver/ChangeLog:

* tracepoint.c (cmd_qtstart): Only set ipa_tdesc_idx if agent
is actually loaded.
gdb/gdbserver/ChangeLog
gdb/gdbserver/tracepoint.c