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: Tom Tromey <tromey at redhat dot com>
- To: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: "'Yao Qi'" <yao at codesourcery dot com>, "'Eli Zaretskii'" <eliz at gnu dot org>, <gdb-patches at sourceware dot org>
- Date: Tue, 17 Sep 2013 11:43:22 -0600
- 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> <33630 dot 1438547254$1379000229 at news dot gmane dot org>
>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:
Pierre> I don't get, I always thought that
Pierre> when using remote debugger, the debuggee is cross-compiled
Pierre> on the machine where GDB is run, not on the remote machine where
Pierre> gdbserver is run.
Pierre> Thus, I always believed that there is no need to copy the
Pierre> source files to the remote machine, as GDB has the sources
Pierre> available.
Pierre> Are these assumptions wrong?
Not wrong, just incomplete. There are different kinds of remote
testing, including "remote host", where the compiler and gdb are both
run on the remote, and just dejagnu is run locally.
However, there is some support in the test suite and dejagnu for copying
files over.
Tom