From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6750 invoked by alias); 5 Feb 2008 13:21:48 -0000 Received: (qmail 6740 invoked by uid 22791); 5 Feb 2008 13:21:47 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 05 Feb 2008 13:21:14 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 8FBCF9829D; Tue, 5 Feb 2008 13:21:12 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 78C42980E0; Tue, 5 Feb 2008 13:21:12 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JMNjb-0002qy-GY; Tue, 05 Feb 2008 08:21:11 -0500 Date: Tue, 05 Feb 2008 13:21:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb@sourceware.org Subject: Re: testing GDB with the simulator Message-ID: <20080205132111.GD10652@caradoc.them.org> Mail-Followup-To: Joel Brobecker , gdb@sourceware.org References: <20080204204347.GD20922@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080204204347.GD20922@adacore.com> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00026.txt.bz2 On Mon, Feb 04, 2008 at 12:43:47PM -0800, Joel Brobecker wrote: > Hello, > > Is there a way to run the GDB testsuite on the GDB simulator? > Perhaps with a specific board file, as explained in the GDB Wiki > for testing with the gdbserver? I just did some powerpc-specific > work, and had to test it on ppc-aix, which is extremely slow > with the machines that AdaCore has. I think I could save quite > a bit of time if I could do the testing on the powerpc simulator > and the powerpc-elf target. If possible, I'll be happy to contribute > a Wiki page for it. Take a look at this: http://gcc.gnu.org/simtest-howto.html The page is stale, so some of those targets won't work. But the same instructions should generally work for GDB once you have a toolchain. mips-elf, powerpc-eabisim, and arm-eabi are the most common targets with working simulators. -- Daniel Jacobowitz CodeSourcery