From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 From: Mike Frysinger To: Joel Sherrill Cc: gdb@sourceware.org, newlib@sourceware.org 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-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Fri, 23 Apr 2021 00:27:54 -0000 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