[RSB PATCH v2] Disable built-in sis in gdb.

Jiri Gaisler jiri at gaisler.se
Thu Aug 8 22:06:40 UTC 2019


On 8/8/19 11:48 PM, Joel Sherrill wrote:
> Unless it causes an issue, I would really like to leave sis enabled inside gdb. It really is such a nice environment to debug.

Stand-alone sis has a gdb server, so the gdb debug environment should be identical. In gdb, just do target extended-remote localhost:1234 instead of target sim. Keeping sis inside gdb has a number of problems:

* The sis patches will never be accepted into the gdb mainline

* We will have to maintain a patch set for each gdb version

* Making new versions of sis is cumbersome since we have to provided patches rather than just a git repo

* No support for data watchpoints in the gdb sim interface

* Build problems for Cygwin

I also like the simplicity of a built-in simulator, but a stand-alone sim is just so much easier to develop and maintain...

>
> On Thu, Aug 8, 2019, 4:47 PM Jiri Gaisler <jiri at gaisler.se <mailto:jiri at gaisler.se>> wrote:
>
>     This time it also works on RISC-V ... :-)
>
>     _______________________________________________
>     devel mailing list
>     devel at rtems.org <mailto:devel at rtems.org>
>     http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190809/d67cc2fc/attachment-0002.html>


More information about the devel mailing list