From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17228 invoked by alias); 23 Sep 2010 18:46:03 -0000 Received: (qmail 17218 invoked by uid 22791); 23 Sep 2010 18:46:03 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Sep 2010 18:45:56 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 810AA2BAB99; Thu, 23 Sep 2010 14:45:54 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3mM1DE823tvh; Thu, 23 Sep 2010 14:45:54 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 543552BAB84; Thu, 23 Sep 2010 14:45:54 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 18CCEF591E; Thu, 23 Sep 2010 11:45:51 -0700 (PDT) From: Joel Brobecker To: gdb-patches@sourceware.org Cc: Joel Brobecker Subject: [RFC/commit] Add a sparc simulator with the sparc bareboard target. Date: Thu, 23 Sep 2010 20:14:00 -0000 Message-Id: <1285267549-8523-1-git-send-email-brobecker@adacore.com> 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-09/txt/msg00414.txt.bz2 This is something that the RTEMS target already does. I think we should do that for any bareboard sparc. The simulator might not handle v8 or v9, I'm not sure, since it is stored in the erc32 subdirectory. But at least v7 should work, and I am hoping that anyone interested in later versions of sparc in the simulator should be able to enhance it so. gdb/ChangeLog: * configure.tgt (sparc-*-*): Set gdb_sim to ../sim/erc32/libsim.a. Any objection? --- gdb/configure.tgt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 80cfb49..65e764e 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -523,6 +523,7 @@ sparc-*-*) # Target: SPARC gdb_target_obs="sparc-tdep.o ravenscar-thread.o \ ravenscar-sparc-thread.o" + gdb_sim=../sim/erc32/libsim.a ;; sparc64-*-*) # Target: UltraSPARC -- 1.7.1