[PATCH] RSB/gdb: upgrade sis to 2.11
Jiri Gaisler
jiri at gaisler.se
Tue Feb 5 10:17:29 UTC 2019
On 2/5/19 5:21 AM, Chris Johns wrote:
> On 4/2/19 9:49 pm, Jiri Gaisler wrote:
>> These two patches should be applied to gdb-8.2.1 to build sis for SPARC and RISC-V:
> Thanks.
>
>> https://gaisler.se/gdb/gdb-8.2.1-riscv-config.patch
>>
>> https://gaisler.se/gdb/gdb-8.2.1-sis-2.11.patch
> I see in this patch `erc32` has been removed and replaced with `sis`. What does
> this mean?
>
> I have attached the patches to #3460. The SIS patch had to be compressed.
erc32 is a bit misleading since sis also emulates leon2/3 and riscv. To keep the files together, I created the new directory sis. The old erc32 directory is no longer maintained. I don't think it will be possible to merge sis in the foreseeable future. The gdb maintainers prefer simulators that use the built-in sim engine (sim/common) and discourage custom sims like sis. I will maintain sis out-of-tree for some time and then maybe make it self-standing using the gdbserver interface. However, sis uses several binutils libraries (bfd, opcodes, readline) which makes it convenient to build it in the gdb tree. Having the simulator built-in to gdb is also convenient since we don't need to start a separate process and connect to some (hopefully) free port....
More information about the devel
mailing list