[J-core] SuperH GDB?

Christopher Friedt chrisfriedt at gmail.com
Fri May 6 14:55:47 EDT 2016


On Fri, May 6, 2016 at 2:11 PM, Rich Felker <dalias at libc.org> wrote:
> On Fri, May 06, 2016 at 02:06:19PM -0400, Christopher Friedt wrote:
>> Hi list + Rich,
>>
>> Do we have a SuperH GDB that is distributed as part of the toolchain?
>
> No, not yet. I wasn't aware until recently, but upstream gdb has no
> native (debug on the target) sh-linux support at all, and gdbserver
> and gdb's remote interface are missing fdpic support which makes
> symbolic debugging difficult. I'm in the process of fixing up the
> abandoned & incomplete fdpic patch for gdb (thankfully the necessary
> work seems to have been completed in the frv target support, but it
> was done in a gratuitously frv-specific way so it needs some minor
> cleanup) and hope to have something ready to use (at least
> experimentally) in the next few days.

I just built sh2eb-gdb from source (7.11) and was attempting to get
remote debugging on qemu working. It seems working-ish AFAICT, but
qemu-system-sh4eb will still need a bit of work.

The existing qemu-system-sh4eb seems to be on very shaky ground, as I
mentioned in my last post.

http://lists.j-core.org/pipermail/j-core/2016-May/000095.html

Warning: Trevor Woerner informed me that message was flagged by Gmail as spam.

C


More information about the J-core mailing list