summaryrefslogtreecommitdiff
path: root/share/doc/gccint/All-Debuggers.html
diff options
context:
space:
mode:
authoralk3pInjection <webmaster@raspii.tech>2024-02-04 16:16:35 +0800
committeralk3pInjection <webmaster@raspii.tech>2024-02-04 16:16:35 +0800
commitabdaadbcae30fe0c9a66c7516798279fdfd97750 (patch)
tree00a54a6e25601e43876d03c1a4a12a749d4a914c /share/doc/gccint/All-Debuggers.html
Import stripped Arm GNU Toolchain 13.2.Rel1HEADumineko
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads Change-Id: I7303388733328cd98ab9aa3c30236db67f2e9e9c
Diffstat (limited to 'share/doc/gccint/All-Debuggers.html')
-rw-r--r--share/doc/gccint/All-Debuggers.html155
1 files changed, 155 insertions, 0 deletions
diff --git a/share/doc/gccint/All-Debuggers.html b/share/doc/gccint/All-Debuggers.html
new file mode 100644
index 0000000..32da12b
--- /dev/null
+++ b/share/doc/gccint/All-Debuggers.html
@@ -0,0 +1,155 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Copyright (C) 1988-2023 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 "Funding Free Software", the Front-Cover
+Texts being (a) (see below), and with the Back-Cover Texts being (b)
+(see below). A copy of the license is included in the section entitled
+"GNU Free Documentation License".
+
+(a) The FSF's Front-Cover Text is:
+
+A GNU Manual
+
+(b) The FSF's Back-Cover Text is:
+
+You have freedom to copy and modify this GNU Manual, like GNU
+ software. Copies published by the Free Software Foundation raise
+ funds for GNU development. -->
+<!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>GNU Compiler Collection (GCC) Internals: All Debuggers</title>
+
+<meta name="description" content="GNU Compiler Collection (GCC) Internals: All Debuggers">
+<meta name="keywords" content="GNU Compiler Collection (GCC) Internals: All Debuggers">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="makeinfo">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="index.html#Top" rel="start" title="Top">
+<link href="Option-Index.html#Option-Index" rel="index" title="Option Index">
+<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
+<link href="Debugging-Info.html#Debugging-Info" rel="up" title="Debugging Info">
+<link href="DWARF.html#DWARF" rel="next" title="DWARF">
+<link href="Debugging-Info.html#Debugging-Info" rel="previous" title="Debugging Info">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.indentedblock {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
+div.smalllisp {margin-left: 3.2em}
+kbd {font-style:oblique}
+pre.display {font-family: inherit}
+pre.format {font-family: inherit}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: inherit; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: inherit; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:nowrap}
+span.nolinebreak {white-space:nowrap}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
+<a name="All-Debuggers"></a>
+<div class="header">
+<p>
+Next: <a href="DWARF.html#DWARF" accesskey="n" rel="next">DWARF</a>, Up: <a href="Debugging-Info.html#Debugging-Info" accesskey="u" rel="up">Debugging Info</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
+</div>
+<hr>
+<a name="Macros-Affecting-All-Debugging-Formats"></a>
+<h4 class="subsection">18.21.1 Macros Affecting All Debugging Formats</h4>
+
+<p>These macros affect all debugging formats.
+</p>
+<dl>
+<dt><a name="index-DEBUGGER_005fREGNO"></a>Macro: <strong>DEBUGGER_REGNO</strong> <em>(<var>regno</var>)</em></dt>
+<dd><p>A C expression that returns the debugger register number for the compiler
+register number <var>regno</var>. In the default macro provided, the value
+of this expression will be <var>regno</var> itself. But sometimes there are
+some registers that the compiler knows about and debugger does not, or vice
+versa. In such cases, some register may need to have one number in the
+compiler and another for debugger.
+</p>
+<p>If two registers have consecutive numbers inside GCC, and they can be
+used as a pair to hold a multiword value, then they <em>must</em> have
+consecutive numbers after renumbering with <code>DEBUGGER_REGNO</code>.
+Otherwise, debuggers will be unable to access such a pair, because they
+expect register pairs to be consecutive in their own numbering scheme.
+</p>
+<p>If you find yourself defining <code>DEBUGGER_REGNO</code> in way that
+does not preserve register pairs, then what you must do instead is
+redefine the actual register numbering scheme.
+</p></dd></dl>
+
+<dl>
+<dt><a name="index-DEBUGGER_005fAUTO_005fOFFSET"></a>Macro: <strong>DEBUGGER_AUTO_OFFSET</strong> <em>(<var>x</var>)</em></dt>
+<dd><p>A C expression that returns the integer offset value for an automatic
+variable having address <var>x</var> (an RTL expression). The default
+computation assumes that <var>x</var> is based on the frame-pointer and
+gives the offset from the frame-pointer. This is required for targets
+that produce debugging output for debugger and allow the frame-pointer to be
+eliminated when the <samp>-g</samp> option is used.
+</p></dd></dl>
+
+<dl>
+<dt><a name="index-DEBUGGER_005fARG_005fOFFSET"></a>Macro: <strong>DEBUGGER_ARG_OFFSET</strong> <em>(<var>offset</var>, <var>x</var>)</em></dt>
+<dd><p>A C expression that returns the integer offset value for an argument
+having address <var>x</var> (an RTL expression). The nominal offset is
+<var>offset</var>.
+</p></dd></dl>
+
+<dl>
+<dt><a name="index-PREFERRED_005fDEBUGGING_005fTYPE"></a>Macro: <strong>PREFERRED_DEBUGGING_TYPE</strong></dt>
+<dd><p>A C expression that returns the type of debugging output GCC should
+produce when the user specifies just <samp>-g</samp>. Define
+this if you have arranged for GCC to support more than one format of
+debugging output. Currently, the allowable values are
+<code>DWARF2_DEBUG</code>, <code>VMS_DEBUG</code>,
+and <code>VMS_AND_DWARF2_DEBUG</code>.
+</p>
+<p>When the user specifies <samp>-ggdb</samp>, GCC normally also uses the
+value of this macro to select the debugging output format, but with two
+exceptions. If <code>DWARF2_DEBUGGING_INFO</code> is defined, GCC uses the
+value <code>DWARF2_DEBUG</code>.
+</p>
+<p>The value of this macro only affects the default debugging output; the
+user can always get a specific type of output by using <samp>-gdwarf-2</samp>,
+or <samp>-gvms</samp>.
+</p></dd></dl>
+
+<dl>
+<dt><a name="index-DEFAULT_005fGDB_005fEXTENSIONS"></a>Macro: <strong>DEFAULT_GDB_EXTENSIONS</strong></dt>
+<dd><p>Define this macro to control whether GCC should by default generate
+GDB&rsquo;s extended version of debugging information. If you don&rsquo;t define the
+macro, the default is 1: always generate the extended information
+if there is any occasion to.
+</p></dd></dl>
+
+<hr>
+<div class="header">
+<p>
+Next: <a href="DWARF.html#DWARF" accesskey="n" rel="next">DWARF</a>, Up: <a href="Debugging-Info.html#Debugging-Info" accesskey="u" rel="up">Debugging Info</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
+</div>
+
+
+
+</body>
+</html>