From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id lUW5KIwUgmCsagAAWB0awg (envelope-from ) for ; Thu, 22 Apr 2021 20:27:56 -0400 Received: by simark.ca (Postfix, from userid 112) id 982CD1F104; Thu, 22 Apr 2021 20:27:56 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id F00891E783 for ; Thu, 22 Apr 2021 20:27:55 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 429EA385702F; Fri, 23 Apr 2021 00:27:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 429EA385702F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619137675; bh=SfutoTfeLWgHnv4opV2mpGOqnPujYYG4IaGyIFDofYo=; h=Date:To:Subject:In-Reply-To:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:From; b=nnrns5QZiAzwlDygtIHww2s6CyZURBpYQeLUlR1vfmKRD4eTcgcJljYVAeiwQ1wYk 1FCbuJvpRoYziCbhzKBPD2HCc91dHnlF48421gVqN8d6kRwITBFM5ty/Wh1jTmRsOf ZcVDeuheF02x2uqI3Tm5W6reHWFIC8R2+4NpQeTY= Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id D9B473857001; Fri, 23 Apr 2021 00:27:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D9B473857001 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D27A8340DAE; Fri, 23 Apr 2021 00:27:51 +0000 (UTC) Date: Thu, 22 Apr 2021 20:27:51 -0400 To: Joel Sherrill Subject: Re: Microblaze libgloss and gdb simulator Message-ID: Mail-Followup-To: Joel Sherrill , gdb@sourceware.org, newlib@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Frysinger via Gdb Reply-To: Mike Frysinger Cc: newlib@sourceware.org, gdb@sourceware.org Errors-To: gdb-bounces@sourceware.org Sender: "Gdb" On 22 Apr 2021 17:25, Joel Sherrill wrote: > Sorry to post to both newlib and gdb but I hope someone in one of the > communities will have the answer. > > Does anyone know how to build and run a hello world on the microblaze > simulator in gdb using the microblaze-elf target and the code in libgloss? > > I don't see a configuration in DejaGNU which would have given me a hint. I > didn't see any microblaze GCC test results on that list either so that > appears to line up. i think the answer is you can't with only released open source projects. the microblaze gcc config specs refer to a libxil.a that doesn't appear in gcc or newlib or libgloss, so i assume it's a bsp thing you get from xilinx. ignoring that, the microblaze sim doesn't have syscall support hooked up. so it's only a CPU simulator atm. -mike