From: Mark Wielaard Date: Wed, 27 Jun 2012 08:15:27 +0000 (+0200) Subject: dwarf.h: Add DW_MACRO_GNU .debug_macro type encodings. X-Git-Tag: elfutils-0.155~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef5688e1c4916c669f12dee708d07cec416b4e77;p=thirdparty%2Felfutils.git dwarf.h: Add DW_MACRO_GNU .debug_macro type encodings. Signed-off-by: Mark Wielaard --- diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 48bbaa0e5..5a07c467b 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,7 @@ +2012-06-27 Mark Wielaard + + * dwarf.h: Add DW_MACRO_GNU .debug_macro type encodings. + 2012-06-26 Mark Wielaard * libdwP.h: Add IDX_debug_macro. diff --git a/libdw/dwarf.h b/libdw/dwarf.h index 01aee5ad7..78a553aae 100644 --- a/libdw/dwarf.h +++ b/libdw/dwarf.h @@ -673,6 +673,21 @@ enum }; +/* DWARF debug_macro type encodings. GNU/DWARF5 extension. */ +enum + { + DW_MACRO_GNU_define = 0x01, + DW_MACRO_GNU_undef = 0x02, + DW_MACRO_GNU_start_file = 0x03, + DW_MACRO_GNU_end_file = 0x04, + DW_MACRO_GNU_define_indirect = 0x05, + DW_MACRO_GNU_undef_indirect = 0x06, + DW_MACRO_GNU_transparent_include = 0x07, + DW_MACRO_GNU_lo_user = 0xe0, + DW_MACRO_GNU_hi_user = 0xff + }; + + /* DWARF call frame instruction encodings. */ enum {