dbghelp: Parse correctly DW_LNE_set_discriminator.

This commit is contained in:
Eric Pouech 2010-06-27 22:57:33 +02:00 committed by Alexandre Julliard
parent b6c8b8959b
commit 5afe16621b
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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)