This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] New GDB Port CR16
- From: Mike Frysinger <vapier at gentoo dot org>
- To: Kaushik Phatak <Kaushik dot Phatak at kpitcummins dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Yao Qi <yao at codesourcery dot com>, Pedro Alves <palves at redhat dot com>
- Date: Tue, 11 Sep 2012 11:59:56 -0700
- Subject: Re: [RFC] New GDB Port CR16
- References: <C6CA53A2A46BA7469348BDBD663AB65845B27868@KCHJEXMB03.kpit.com> <503B9E59.6050502@codesourcery.com> <C6CA53A2A46BA7469348BDBD663AB65845B28084@KCHJEXMB03.kpit.com> <CAJaTeTrp4cCM6-0WybhzQnH_ZDBoa9xDhnW4+QGtaS7Un3Zv=Q@mail.gmail.com> <C6CA53A2A46BA7469348BDBD663AB65845B2866D@KCHJEXMB03.kpit.com> <504478D0.4040202@redhat.com> <CAJaTeTpaq+Z-K-21rht8MaTqoAcntMfd8mWRw9vVnFCU33ww6Q@mail.gmail.com> <C6CA53A2A46BA7469348BDBD663AB65845B296C5@KCHJEXMB03.kpit.com>
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