This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/22286] [MIPS] internal-error when read dspctl register


https://sourceware.org/bugzilla/show_bug.cgi?id=22286

Maciej W. Rozycki <macro@linux-mips.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-12
           Assignee|unassigned at sourceware dot org   |macro@linux-mips.org
     Ever confirmed|0                           |1

--- Comment #3 from Maciej W. Rozycki <macro@linux-mips.org> ---
Hi Paul,

Thank you for your bug report and the proposed fix.

However the DSPControl register is architecturally 32-bit even on 64-bit
hardware, like CP1 control registers (e.g. FCSR, etc.) and unlike CP0
registers in general.  So I'd rather fix the problem the other way round.
I'll look into it.

NB I agree Status and Cause are inconsistent in that they are exposed as
64-bit while they are not.  The reason is historical and boils down to
the layout of the `g'/`G' RSP packets matching debug stubs which predate
the introduction of XML register descriptions.  This could be fixed in
a way similar to how I adjusted the handling of FCSR and FIR not so long
ago, however as a non-fatal issue this is not urgent.

Maciej

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]