From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23105 invoked by alias); 16 Sep 2013 16:24:04 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 23067 invoked by uid 89); 16 Sep 2013 16:24:02 -0000 Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.222.217) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 16 Sep 2013 16:24:02 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,MSGID_MULTIPLE_AT autolearn=no version=3.3.2 X-HELO: mailhost.u-strasbg.fr Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antispam (Postfix) with ESMTP id 5C3B620BAE; Mon, 16 Sep 2013 18:23:59 +0200 (CEST) Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id 4CD42204D8; Mon, 16 Sep 2013 18:23:59 +0200 (CEST) Received: from md14.u-strasbg.fr (md14.u-strasbg.fr [130.79.200.249]) by mr7.u-strasbg.fr (Postfix) with ESMTP id 0286C20BB6; Mon, 16 Sep 2013 18:23:55 +0200 (CEST) Received: from ms17.u-strasbg.fr (ms17.u-strasbg.fr [130.79.204.117]) by md14.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id r8GGNt8B021512 ; Mon, 16 Sep 2013 18:23:55 +0200 Received: from E6510Muller (gw-ics.u-strasbg.fr [130.79.210.225]) (Authenticated sender: mullerp) by ms17.u-strasbg.fr (Postfix) with ESMTPSA id 4FBD81FD95; Mon, 16 Sep 2013 18:23:53 +0200 (CEST) From: "Pierre Muller" To: "'Yao Qi'" Cc: "'Eli Zaretskii'" , References: <1378947563-26245-1-git-send-email-yao@codesourcery.com> <83li32iwrs.fsf@gnu.org> <5231A766.8060108@codesourcery.com> <000301ceafcd$d3bbcda0$7b3368e0$@muller@ics-cnrs.unistra.fr> <5237058E.50409@codesourcery.com> In-Reply-To: <5237058E.50409@codesourcery.com> Subject: RE: [PATCH] Run catch-load.exp on Windows Date: Mon, 16 Sep 2013 16:24:00 -0000 Message-ID: <000301ceb2f9$23136ec0$693a4c40$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2013-09/txt/msg00454.txt.bz2 > -----Message d'origine----- > De : gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Yao Qi > Envoy=C3=A9 : lundi 16 septembre 2013 15:20 > =C3=80 : Pierre Muller > Cc : 'Eli Zaretskii'; gdb-patches@sourceware.org > Objet : Re: [PATCH] Run catch-load.exp on Windows >=20 > 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 gdbser= ver > is run. >=20 > 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 =3D=3D build, so the test case is not copied. > However, in remote-host, host !=3D 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. =20 > > Thus, I always believed that there is no need to copy > > the source files to the remote machine, as GDB has the sources availabl= e. > > > > Are these assumptions wrong? >=20 > Usually, we don't, but in remote-host testing, we have to. OK, thank you for the explanation. Pierre Muller