From f01d40db560f6b6dcb4737a82da71438e995cb10 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 4 Jul 2007 00:56:44 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/dwarf2out.c | 41 +++++++++++++++++++++++------------------ 2 files changed, 26 insertions(+), 18 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 87a37dd250d..fd5d7038026 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -4,6 +4,9 @@ 2007-07-04 Ben Elliston + * 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 140baf19eef..ffcce00ed06 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 \ -- 2.30.2