From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21277 invoked by alias); 11 Apr 2010 16:22:26 -0000 Received: (qmail 21265 invoked by uid 22791); 11 Apr 2010 16:22:23 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45 X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 11 Apr 2010 16:22:19 +0000 Received: by vws15 with SMTP id 15so1089969vws.0 for ; Sun, 11 Apr 2010 09:22:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.44.198 with HTTP; Sun, 11 Apr 2010 09:22:17 -0700 (PDT) In-Reply-To: <201004111716.59669.pedro@codesourcery.com> References: <201004110252.35997.pedro@codesourcery.com> <201004111517.48725.pedro@codesourcery.com> <201004111716.59669.pedro@codesourcery.com> Date: Sun, 11 Apr 2010 16:22:00 -0000 Received: by 10.220.107.161 with SMTP id b33mr1416596vcp.113.1271002937935; Sun, 11 Apr 2010 09:22:17 -0700 (PDT) Message-ID: Subject: Re: Fix solib-disc.exp regression with x86 gdbserver From: "H.J. Lu" To: Pedro Alves Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 X-SW-Source: 2010-04/txt/msg00328.txt.bz2 On Sun, Apr 11, 2010 at 9:16 AM, Pedro Alves wrote: > On Sunday 11 April 2010 16:43:11, H.J. Lu wrote: >> BTW, I followed: >> >> http://sourceware.org/gdb/wiki/TestingGDB#Testing_gdbserver_in_a_native_= configuration >> >> I couldn't get dejagnu to find the native-gdbserver board file. I had >> to put >> >> set gdbserve_board_dir xxxxx/gdbserver/boards >> lappend boards_dir $gdbserve_board_dir >> >> in my ~/.dejagnurc. >> > > I have: > > append boards_dir "/home/pedro/etc/boards" > > in my site.exp (~/etc/site.exp); I don't remember if this was actually > needed. =A0Maybe a good idea to update the wiki if this is always needed. Yes, it is required. It took me a while to figure it out. One needs 1. Set DEJAGNU to an empty file. 2. Append the directory contains native-gdbserve.exp to boards_dir in ~/.dejagnurc. > BTW, you can run the testsuite in parallel mode against gdbserver as > well, to speed up testing. =A0Here's how: > > =A0make check RUNTESTFLAGS=3D"--target_board native-gdbserver" FORCE_PARA= LLEL=3D"1" -j4 > Yes, that is what I am using. Do I need FORCE_PARALLEL=3D"1"? It seems to work without it. Thanks. --=20 H.J.