Re: Microblaze libgloss and gdb simulator

Mike Frysinger via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel,gmane.comp.lib.newlib
Message-ID <YIIUh15eb5YVOr0F@vapier>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.