blob: aaa2f3a24ba8c3f4c8e262ac56a898e1199b47f7 [file] [log] [blame]
<html lang="en">
<head>
<title>MIPS Register packet Format - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="MIPS_002dSpecific-Protocol-Details.html#MIPS_002dSpecific-Protocol-Details" title="MIPS-Specific Protocol Details">
<link rel="next" href="MIPS-Breakpoint-Kinds.html#MIPS-Breakpoint-Kinds" title="MIPS Breakpoint Kinds">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
Copyright (C) 1988-2019 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being ``Free Software'' and ``Free Software Needs
Free Documentation'', with the Front-Cover Texts being ``A GNU Manual,''
and with the Back-Cover Texts as in (a) below.
(a) The FSF's Back-Cover Text is: ``You are free to copy and modify
this GNU Manual. Buying copies from GNU Press supports the FSF in
developing GNU and promoting software freedom.''
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="MIPS-Register-packet-Format"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="MIPS-Breakpoint-Kinds.html#MIPS-Breakpoint-Kinds">MIPS Breakpoint Kinds</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="MIPS_002dSpecific-Protocol-Details.html#MIPS_002dSpecific-Protocol-Details">MIPS-Specific Protocol Details</a>
<hr>
</div>
<h5 class="subsubsection">E.5.2.1 <acronym>MIPS</acronym> Register Packet Format</h5>
<p><a name="index-register-packet-format_002c-_0040acronym_007bMIPS_007d-3554"></a>
The following <code>g</code>/<code>G</code> packets have previously been defined.
In the below, some thirty-two bit registers are transferred as
sixty-four bits. Those registers should be zero/sign extended (which?)
to fill the space allocated. Register bytes are transferred in target
byte order. The two nibbles within a register byte are transferred
most-significant &ndash; least-significant.
<dl>
<dt><span class="roman">MIPS32</span><dd>All registers are transferred as thirty-two bit quantities in the order:
32 general-purpose; sr; lo; hi; bad; cause; pc; 32 floating-point
registers; fsr; fir; fp.
<br><dt><span class="roman">MIPS64</span><dd>All registers are transferred as sixty-four bit quantities (including
thirty-two bit registers such as <code>sr</code>). The ordering is the same
as <code>MIPS32</code>.
</dl>
</body></html>