Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / info / stabs / Subranges.html
blob20b1f364ca19f64e6cdc9f20171ff052e7c40e6a
1 <html lang="en">
2 <head>
3 <title>STABS</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="STABS">
6 <meta name="generator" content="makeinfo 4.3">
7 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
8 </head>
9 <body>
10 <div class="node">
11 <p>
12 Node:<a name="Subranges">Subranges</a>,
13 Next:<a rel="next" accesskey="n" href="Arrays.html#Arrays">Arrays</a>,
14 Previous:<a rel="previous" accesskey="p" href="Cross-References.html#Cross-References">Cross-References</a>,
15 Up:<a rel="up" accesskey="u" href="Types.html#Types">Types</a>
16 <hr><br>
17 </div>
19 <h3 class="section">Subrange Types</h3>
21 <p>The <code>r</code> type descriptor defines a type as a subrange of another
22 type. It is followed by type information for the type of which it is a
23 subrange, a semicolon, an integral lower bound, a semicolon, an
24 integral upper bound, and a semicolon. The AIX documentation does not
25 specify the trailing semicolon, in an effort to specify array indexes
26 more cleanly, but a subrange which is not an array index has always
27 included a trailing semicolon (see <a href="Arrays.html#Arrays">Arrays</a>).
29 <p>Instead of an integer, either bound can be one of the following:
31 <dl>
32 <dt><code>A </code><var>offset</var><code></code>
33 <dd>The bound is passed by reference on the stack at offset <var>offset</var>
34 from the argument list. See <a href="Parameters.html#Parameters">Parameters</a>, for more information on such
35 offsets.
37 <br><dt><code>T </code><var>offset</var><code></code>
38 <dd>The bound is passed by value on the stack at offset <var>offset</var> from
39 the argument list.
41 <br><dt><code>a </code><var>register-number</var><code></code>
42 <dd>The bound is passed by reference in register number
43 <var>register-number</var>.
45 <br><dt><code>t </code><var>register-number</var><code></code>
46 <dd>The bound is passed by value in register number <var>register-number</var>.
48 <br><dt><code>J</code>
49 <dd>There is no bound.
50 </dl>
52 <p>Subranges are also used for builtin types; see <a href="Traditional-Builtin-Types.html#Traditional%20Builtin%20Types">Traditional Builtin Types</a>.
54 </body></html>