diff mbox

add hp sfc ops DWARF-2 subcodes

Message ID 4DC3AD73-395E-489B-B466-26613B6273BE@adacore.com
State New
Headers show

Commit Message

Tristan Gingold March 31, 2011, 9:05 a.m. UTC
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.

Comments

Jason Merrill March 31, 2011, 1:56 p.m. UTC | #1
OK.

Jason
diff mbox

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
   {