mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
[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.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2016-03-02 Marcin Kościelnicki <koriakin@0x04.net>
|
||||||
|
|
||||||
|
* tracepoint.c (cmd_qtstart): Only set ipa_tdesc_idx if agent
|
||||||
|
is actually loaded.
|
||||||
|
|
||||||
2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
|
2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
|
||||||
|
|
||||||
* linux-s390-low.c (s390_num_regs_3264): Define on 31-bit too.
|
* linux-s390-low.c (s390_num_regs_3264): Define on 31-bit too.
|
||||||
|
@ -3214,10 +3214,13 @@ cmd_qtstart (char *packet)
|
|||||||
|
|
||||||
*packet = '\0';
|
*packet = '\0';
|
||||||
|
|
||||||
/* Tell IPA about the correct tdesc. */
|
if (agent_loaded_p ())
|
||||||
if (write_inferior_integer (ipa_sym_addrs.addr_ipa_tdesc_idx,
|
{
|
||||||
target_get_ipa_tdesc_idx ()))
|
/* Tell IPA about the correct tdesc. */
|
||||||
error ("Error setting ipa_tdesc_idx variable in lib");
|
if (write_inferior_integer (ipa_sym_addrs.addr_ipa_tdesc_idx,
|
||||||
|
target_get_ipa_tdesc_idx ()))
|
||||||
|
error ("Error setting ipa_tdesc_idx variable in lib");
|
||||||
|
}
|
||||||
|
|
||||||
/* Start out empty. */
|
/* Start out empty. */
|
||||||
if (agent_loaded_p ())
|
if (agent_loaded_p ())
|
||||||
|
Reference in New Issue
Block a user