This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PATCH] Run catch-load.exp on Windows
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Yao Qi'" <yao at codesourcery dot com>, "'Eli Zaretskii'" <eliz at gnu dot org>
- Cc: <gdb-patches at sourceware dot org>
- Date: Thu, 12 Sep 2013 17:36:17 +0200
- Subject: RE: [PATCH] Run catch-load.exp on Windows
- Authentication-results: sourceware.org; auth=none
- References: <1378947563-26245-1-git-send-email-yao at codesourcery dot com> <83li32iwrs dot fsf at gnu dot org> <5231A766 dot 8060108 at codesourcery dot com>
> -----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