[PATCH] [DbgHelp]: now parsing correctly DW_LNE_set_discriminator
Eric Pouech
eric.pouech at orange.fr
Sun Jun 27 15:57:33 CDT 2010
A+
---
dlls/dbghelp/dwarf.c | 4 ++++
dlls/dbghelp/dwarf.h | 2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 6daf7d7..82d092f 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -2075,6 +2075,10 @@ static BOOL dwarf2_parse_line_numbers(const dwarf2_section_t* sections,
dwarf2_leb128_as_unsigned(&traverse);
dwarf2_leb128_as_unsigned(&traverse);
break;
+ case DW_LNE_set_discriminator:
+ WARN("not handled %s\n", traverse.data);
+ dwarf2_leb128_as_unsigned(&traverse);
+ break;
default:
FIXME("Unsupported extended opcode %x\n", extopcode);
break;
diff --git a/dlls/dbghelp/dwarf.h b/dlls/dbghelp/dwarf.h
index 4ecb816..9864ecc 100644
--- a/dlls/dbghelp/dwarf.h
+++ b/dlls/dbghelp/dwarf.h
@@ -421,6 +421,8 @@ enum dwarf_calling_convention
#define DW_LNE_end_sequence 0x01
#define DW_LNE_set_address 0x02
#define DW_LNE_define_file 0x03
+/* Dwarf4 new values */
+#define DW_LNE_set_discriminator 0x04
#define DW_CIE_ID ~(0x0)
More information about the wine-patches
mailing list