Eric Pouech : dbghelp: Parse correctly DW_LNE_set_discriminator.
Alexandre Julliard
julliard at winehq.org
Mon Jun 28 11:01:20 CDT 2010
Module: wine
Branch: master
Commit: 5afe16621b786a11c6d28e54e2fa526240ba100a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5afe16621b786a11c6d28e54e2fa526240ba100a
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sun Jun 27 22:57:33 2010 +0200
dbghelp: Parse correctly DW_LNE_set_discriminator.
---
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 413ae44..dda1725 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-cvs
mailing list