[Converted from Gnats 372] In the file src/gdb/sh-tdep.c is mentioned that for an SH4 the XF0-XF15 and XD0-XD14 registers are not used (FIXME). When will this be fixed? Note that the XMTRX register is not supported as well. Release: GDB 5.1.1 Environment: Win2K / Cygwin
Still valid.
Does gdb actually support sh4 now? As far as I know, it currently doesn't. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576242 I'm one of the porters of the sh4 architecture for Debian and would be very interested to finally have a working gdb on sh4. Adrian
Hi Adrian, Thanks for your comment. Based on the Debian bug that you linked, I think this is a matter of reviving the patch that was sent to the gdb-patches mailing list: <https://sourceware.org/ml/gdb-patches/2011-11/msg00490.html> You might also be interested in pinging the original author of the patch.
Hi! (In reply to Sergio Durigan Junior from comment #3) > Thanks for your comment. Based on the Debian bug that you linked, I think > this is a matter of reviving the patch that was sent to the gdb-patches > mailing list: Yeah, I guess. I definitely want to help to get this merged into gdb and I would be happy to provide SSH access to a sh4 machine to anyone from the gdb developers interested in reviewing the patch. However, I am still waiting for my very own sh4 machine to arrive, it's currently in the mail from Japan and that might take another month or so. Once I have set everything up and working, I will ping back on the gdb mailing list and ask for another attempt. I have also a very competent gcc expert at hand who could help me reviewing the code. > You might also be interested in pinging the original author of the patch. Good idea, that's where I am going to start. Adrian