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 <j...@gaisler.se 
> <mailto:j...@gaisler.se>> wrote:
>
>     This time it also works on RISC-V ... :-)
>
>     _______________________________________________
>     devel mailing list
>     devel@rtems.org <mailto:devel@rtems.org>
>     http://lists.rtems.org/mailman/listinfo/devel
>
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to