Re: [RFC] New GDB Port CR16

Mike Frysinger
2012-09-11T19:00:40Z

On Mon, Sep 3, 2012 at 11:49 PM, Kaushik Phatak wrote:
> Hi Pedro,
>> Is this dependency on host signal defines what is done on other sims?
> This was probably added when breakpoint support was being added to this
> sim port with reference of the SH port I believe.
>
>> there is cruft like this in other sims. it probably would be desirable to clean it up.
> Yes Mike, I agree. I have tested it without this hunk and breakpoints seem to
> work as expected. Please see below the patch that reverts this in sim.
> I am rearranging some code to create cr16-linux-tdep.c file as suggested by Yao
> and will post the gdb related patches soon.

well, the idea would be that you wouldn't use host signals at all.
you'd only use SIM_SIGXXX. this patch doesn't really address that, so
i wouldn't bother unless you go the distance ;).
-mike