[PATCH] Run catch-load.exp on Windows
Pierre Muller
pierre.muller@ics-cnrs.unistra.fr
Mon Sep 16 16:24:00 GMT 2013
> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Yao Qi
> Envoyé : lundi 16 septembre 2013 15:20
> À : Pierre Muller
> Cc : 'Eli Zaretskii'; gdb-patches@sourceware.org
> Objet : Re: [PATCH] Run catch-load.exp on Windows
>
> On 09/12/2013 11:36 PM, Pierre Muller wrote:
> > I don't get, I always thought that
> > when using remote debugger, the debuggee is cross-compiled
> > on the machine where GDB is run, not on the remote machine where gdbserver
> is run.
>
> This is remote-target, not remote-host. Dejagnu is running on build,
> test case is compiled on host, and executable is running on target. In
> the case you described, host == build, so the test case is not copied.
> However, in remote-host, host != build, Dejagnu has to copy source file
> to the remote host first, and launch compiler on the remote host to
> compile the test case. The executable can be run on the same machine or
> a different one.
So, I think I was confusing GDB's idea of build/host/target
with dejagnu idea, which is not exactly the same.
> > Thus, I always believed that there is no need to copy
> > the source files to the remote machine, as GDB has the sources available.
> >
> > Are these assumptions wrong?
>
> Usually, we don't, but in remote-host testing, we have to.
OK, thank you for the explanation.
Pierre Muller
More information about the Gdb-patches
mailing list