aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2007-07-04 00:56:44 +0000
committerBen Elliston <bje@gcc.gnu.org>2007-07-04 10:56:44 +1000
commitf01d40db560f6b6dcb4737a82da71438e995cb10 (patch)
tree46d453aaa86f897905e727e9628635f8817cce8e
parent57ccb5462446fd13a46c4c49b11d78b96a31f0d3 (diff)
downloadgcc-f01d40db560f6b6dcb4737a82da71438e995cb10.zip
gcc-f01d40db560f6b6dcb4737a82da71438e995cb10.tar.gz
gcc-f01d40db560f6b6dcb4737a82da71438e995cb10.tar.bz2
dwarf2out.c: Move DWARF2 abbreviation glossary closer to the top of this file.
* dwarf2out.c: Move DWARF2 abbreviation glossary closer to the top of this file. From-SVN: r126294
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/dwarf2out.c41
2 files changed, 26 insertions, 18 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 87a37dd..fd5d703 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -4,6 +4,9 @@
2007-07-04 Ben Elliston <bje@au.ibm.com>
+ * dwarf2out.c: Move DWARF2 abbreviation glossary closer to the top
+ of this file.
+
* c-objc-common.c (c_types_compatible_p): Fix indentation.
* doc/tm.texi (Run-time Target): Capitalise "CPU".
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 140baf1..ffcce00 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -34,6 +34,29 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
DWARF2_DEBUGGING_INFO, deals with the other DWARF 2 debugging
information. */
+/* DWARF2 Abbreviation Glossary:
+
+ CFA = Canonical Frame Address
+ a fixed address on the stack which identifies a call frame.
+ We define it to be the value of SP just before the call insn.
+ The CFA register and offset, which may change during the course
+ of the function, are used to calculate its value at runtime.
+
+ CFI = Call Frame Instruction
+ an instruction for the DWARF2 abstract machine
+
+ CIE = Common Information Entry
+ information describing information common to one or more FDEs
+
+ DIE = Debugging Information Entry
+
+ FDE = Frame Description Entry
+ information describing the stack call frame, in particular,
+ how to restore registers
+
+ DW_CFA_... = DWARF2 CFA call frame instruction
+ DW_TAG_... = DWARF2 DIE tag */
+
#include "config.h"
#include "system.h"
#include "coretypes.h"
@@ -72,24 +95,6 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
static void dwarf2out_source_line (unsigned int, const char *);
#endif
-/* DWARF2 Abbreviation Glossary:
- CFA = Canonical Frame Address
- a fixed address on the stack which identifies a call frame.
- We define it to be the value of SP just before the call insn.
- The CFA register and offset, which may change during the course
- of the function, are used to calculate its value at runtime.
- CFI = Call Frame Instruction
- an instruction for the DWARF2 abstract machine
- CIE = Common Information Entry
- information describing information common to one or more FDEs
- DIE = Debugging Information Entry
- FDE = Frame Description Entry
- information describing the stack call frame, in particular,
- how to restore registers
-
- DW_CFA_... = DWARF2 CFA call frame instruction
- DW_TAG_... = DWARF2 DIE tag */
-
#ifndef DWARF2_FRAME_INFO
# ifdef DWARF2_DEBUGGING_INFO
# define DWARF2_FRAME_INFO \