This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [PR gdb/13808] gdb.trace: Pass tdesc selected in gdbserver to IPA.
- From: Pedro Alves <palves at redhat dot com>
- To: Marcin KoÅcielnicki <koriakin at 0x04 dot net>, gdb-patches at sourceware dot org
- Cc: antoine dot tremblay at ericsson dot com
- Date: Thu, 25 Feb 2016 14:45:57 +0000
- Subject: Re: [PATCH] [PR gdb/13808] gdb.trace: Pass tdesc selected in gdbserver to IPA.
- Authentication-results: sourceware.org; auth=none
- References: <1456089436-1445-1-git-send-email-koriakin at 0x04 dot net> <56CEFCC5 dot 8070109 at redhat dot com> <56CF03EF dot 3000200 at 0x04 dot net>
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