Bug 7477 - Not all floating point registers on SH4 are visible
Summary: Not all floating point registers on SH4 are visible
Status: ASSIGNED
Alias: None
Product: gdb
Classification: Unclassified
Component: tdep (show other bugs)
Version: 5.1
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-21 00:58 UTC by hans
Modified: 2015-02-08 22:06 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hans 2002-02-21 08:58:01 UTC
[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
Comment 1 Sergio Durigan Junior 2014-09-17 22:40:34 UTC
Still valid.
Comment 2 John Paul Adrian Glaubitz 2015-02-03 21:55:49 UTC
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
Comment 3 Sergio Durigan Junior 2015-02-03 22:41:42 UTC
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.
Comment 4 John Paul Adrian Glaubitz 2015-02-08 22:06:46 UTC
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