This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] Run catch-load.exp on Windows


> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Yao Qi
> Envoyà : jeudi 12 septembre 2013 13:37
> Ã : Eli Zaretskii
> Cc : gdb-patches@sourceware.org
> Objet : Re: [PATCH] Run catch-load.exp on Windows
> 
> On 09/12/2013 10:44 AM, Eli Zaretskii wrote:
> > Isn't it better to create a new file gdb_dlfcn.h, and move all the
> > portability stuff there?
> 
> It makes troubles on remote-host testing, because gdb_dlfcn.h is not
> copied to the remote machine.  Dejagnu only copies *.c files to the
> remote host before compilation.

  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.
  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?

Pierre Muller


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]