Re: [PATCH 1/5] Extended-remote exec events

Yao Qi
2015-07-16T16:35:49Z

On 16/07/15 16:51, Don Breazeal wrote:
> You make a good point, GDBserver doesn't handle that case. I assume
> that's what this is about:
> ---
> warning: Selected architecture i386 is not compatible with reported
> target architecture i386:x86-64
> ---
> I'll investigate.

This messages shows that GDB (rather than GDBserver) doesn't handle
that case. AFAIK, GDBserver doesn't handle that case either.

I am working on patches create target description at the right time
in GDBserver, derived from this patch
https://sourceware.org/ml/gdb-patches/2015-07/msg00403.html
Current GDBserver creates target description too early, if we use
--wrapper option, GDBserver created target description according
to wrapper program, instead of the program we want to debug, which
is wrong.

--
Yao (é½å°§)