OSDN Git Service

* Makefile.in (DRIVER_DEFINES): Remove last change.
[pf3gnuchains/gcc-fork.git] / gcc / dwarf.h
index 3ff0f82..6aca017 100644 (file)
@@ -1,7 +1,7 @@
 /* Declarations and definitions of codes relating to the DWARF symbolic
    debugging information format.
 
-   Written by Ron Guilmette (rfg@ncd.com)
+   Written by Ron Guilmette (rfg@netcom.com)
 
 Copyright (C) 1992 Free Software Foundation, Inc.
 
@@ -19,7 +19,8 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with GNU CC; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
 
 /* This file is derived from the DWARF specification (a public document)
    Revision 1.0.1 (April 8, 1992) developed by the UNIX International
@@ -77,7 +78,7 @@ enum dwarf_tag {
 
 #define TAG_lo_user    0x8000  /* implementation-defined range start */
 #define TAG_hi_user    0xffff  /* implementation-defined range end */
-#define TAG_source_file TAG_compile_unit  /* for backward compatability */
+#define TAG_source_file TAG_compile_unit  /* for backward compatibility */
 
 /* Form names and codes.  */
 
@@ -140,33 +141,35 @@ enum dwarf_attribute {
         AT_lower_bound_data2   = (0x0220|FORM_DATA2),
         AT_lower_bound_data4   = (0x0220|FORM_DATA4),
         AT_lower_bound_data8   = (0x0220|FORM_DATA8),
-    AT_private                 = (0x0230|FORM_STRING),
-    AT_producer                        = (0x0240|FORM_STRING),
-    AT_program                 = (0x0250|FORM_STRING),
+    AT_private                 = (0x0240|FORM_STRING),
+    AT_producer                        = (0x0250|FORM_STRING),
+    AT_program                 = (0x0230|FORM_STRING),
     AT_protected               = (0x0260|FORM_STRING),
     AT_prototyped              = (0x0270|FORM_STRING),
     AT_public                  = (0x0280|FORM_STRING),
     AT_pure_virtual            = (0x0290|FORM_STRING),
     AT_return_addr             = (0x02a0|FORM_BLOCK2),
-    AT_specification           = (0x02b0|FORM_REF),
+    AT_abstract_origin         = (0x02b0|FORM_REF),
     AT_start_scope             = (0x02c0|FORM_DATA4),
-    AT_stride_size             = (0x02d0|FORM_DATA4),
-        AT_upper_bound_ref     = (0x02e0|FORM_REF),
-        AT_upper_bound_data2   = (0x02e0|FORM_DATA2),
-        AT_upper_bound_data4   = (0x02e0|FORM_DATA4),
-        AT_upper_bound_data8   = (0x02e0|FORM_DATA8),
-    AT_virtual                 = (0x02f0|FORM_STRING),
+    AT_stride_size             = (0x02e0|FORM_DATA4),
+        AT_upper_bound_ref     = (0x02f0|FORM_REF),
+        AT_upper_bound_data2   = (0x02f0|FORM_DATA2),
+        AT_upper_bound_data4   = (0x02f0|FORM_DATA4),
+        AT_upper_bound_data8   = (0x02f0|FORM_DATA8),
+    AT_virtual                 = (0x0300|FORM_STRING),
 
     /* GNU extensions.  */
 
     AT_sf_names                        = (0x8000|FORM_DATA4),
     AT_src_info                        = (0x8010|FORM_DATA4),
     AT_mac_info                        = (0x8020|FORM_DATA4),
-    AT_src_coords              = (0x8030|FORM_DATA4)
+    AT_src_coords              = (0x8030|FORM_DATA4),
+    AT_body_begin              = (0x8040|FORM_ADDR),
+    AT_body_end                        = (0x8050|FORM_ADDR)
 };
 
-#define AT_lo_user     0x8000  /* implementation-defined range start */
-#define AT_hi_user     0xffff  /* implementation-defined range end */
+#define AT_lo_user     0x2000  /* implementation-defined range start */
+#define AT_hi_user     0x3ff0  /* implementation-defined range end */
 
 /* Location atom names and codes.  */
 
@@ -177,7 +180,11 @@ enum dwarf_location_atom {
     OP_CONST   = 0x04,
     OP_DEREF2  = 0x05,
     OP_DEREF4  = 0x06,
-    OP_ADD     = 0x07
+    OP_ADD     = 0x07,
+
+    /* GNU extensions.  */
+
+    OP_MULT    = 0x80
 };
 
 #define OP_LO_USER     0x80  /* implementation-defined range start */