Patchwork add hp sfc ops DWARF-2 subcodes

login
register
mail settings
Submitter Tristan Gingold
Date March 31, 2011, 9:05 a.m.
Message ID <4DC3AD73-395E-489B-B466-26613B6273BE@adacore.com>
Download mbox | patch
Permalink /patch/89048/
State New
Headers show

Comments

Tristan Gingold - March 31, 2011, 9:05 a.m.
Hi,

this patch simply adds the DW_LNE_HP_SFC subcodes, to be used by binutils.

Ok for trunk ?
(Sanity-checked by rebuilding gcc).

Tristan.

include/
2011-03-31  Tristan Gingold  <gingold@adacore.com>

       * dwarf2.h (dwarf_line_number_hp_sfc_ops): New enum.
Jason Merrill - March 31, 2011, 1:56 p.m.
OK.

Jason

Patch

--- a/include/dwarf2.h
+++ b/include/dwarf2.h
@@ -757,6 +757,14 @@  enum dwarf_line_number_x_ops
     DW_LNE_hi_user = 0xff
   };
 
+/* Sub-opcodes for DW_LNE_HP_source_file_correlation.  */
+enum dwarf_line_number_hp_sfc_ops
+  {
+    DW_LNE_HP_SFC_formfeed = 1,
+    DW_LNE_HP_SFC_set_listing_line = 2,
+    DW_LNE_HP_SFC_associate = 3
+  };
+
 /* Call frame information.  */
 enum dwarf_call_frame_info
   {