This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] add hp sfc ops DWARF-2 subcodes
- From: Tristan Gingold <gingold at adacore dot com>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Cc: Jason Merrill <jason at redhat dot com>
- Date: Thu, 31 Mar 2011 11:05:21 +0200
- Subject: [patch] add hp sfc ops DWARF-2 subcodes
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.
--- 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
{