[PATCH] [PR gdb/13808] gdb.trace: Pass tdesc selected in gdbserver to IPA.

Pedro Alves palves@redhat.com
Thu Feb 25 14:46:00 GMT 2016


On 02/25/2016 01:38 PM, Marcin Kościelnicki wrote:

>> Failure to write to the inferior should never be an internal error.
>> The inferior might vanish, e.g., because it was SIGKILL'ed from
>> outside gdbserver.
> 
> Fair enough.  The file is littered with internal errors in such cases 
> though (I just copied one of them),

Indeed.  Looks like the younger version of myself hadn't realized
that mistake back then.

> what should be done for these?

Normal error, most probably.

BTW, it looks a bit out of place to write to the IPA
in tracepoint_look_up_symbols.  Any reason we don't do this
in cmd_qtstart, where we download all other things?

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list