include/elf/

* dwarf2.h (DW_LNE_set_discriminator): New enum value.

binutils/

	* dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
	Add missing newlines to HP extensions.
This commit is contained in:
Cary Coutant 2009-04-24 18:28:59 +00:00
parent 95e62385f5
commit ed4a4bdfe4
4 changed files with 25 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2009-04-24 Cary Coutant <ccoutant@google.com>
* dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
Add missing newlines to HP extensions.
2009-04-17 H.J. Lu <hongjiu.lu@intel.com> 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
* objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd. * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.

View File

@ -328,36 +328,41 @@ process_extended_line_op (unsigned char *data, int is_stmt)
printf (_("%s\n\n"), name); printf (_("%s\n\n"), name);
break; break;
case DW_LNE_set_discriminator:
printf (_("set Discriminator to %lu\n"),
read_leb128 (data, & bytes_read, 0));
break;
/* HP extensions. */ /* HP extensions. */
case DW_LNE_HP_negate_is_UV_update: case DW_LNE_HP_negate_is_UV_update:
printf ("DW_LNE_HP_negate_is_UV_update"); printf ("DW_LNE_HP_negate_is_UV_update\n");
break; break;
case DW_LNE_HP_push_context: case DW_LNE_HP_push_context:
printf ("DW_LNE_HP_push_context"); printf ("DW_LNE_HP_push_context\n");
break; break;
case DW_LNE_HP_pop_context: case DW_LNE_HP_pop_context:
printf ("DW_LNE_HP_pop_context"); printf ("DW_LNE_HP_pop_context\n");
break; break;
case DW_LNE_HP_set_file_line_column: case DW_LNE_HP_set_file_line_column:
printf ("DW_LNE_HP_set_file_line_column"); printf ("DW_LNE_HP_set_file_line_column\n");
break; break;
case DW_LNE_HP_set_routine_name: case DW_LNE_HP_set_routine_name:
printf ("DW_LNE_HP_set_routine_name"); printf ("DW_LNE_HP_set_routine_name\n");
break; break;
case DW_LNE_HP_set_sequence: case DW_LNE_HP_set_sequence:
printf ("DW_LNE_HP_set_sequence"); printf ("DW_LNE_HP_set_sequence\n");
break; break;
case DW_LNE_HP_negate_post_semantics: case DW_LNE_HP_negate_post_semantics:
printf ("DW_LNE_HP_negate_post_semantics"); printf ("DW_LNE_HP_negate_post_semantics\n");
break; break;
case DW_LNE_HP_negate_function_exit: case DW_LNE_HP_negate_function_exit:
printf ("DW_LNE_HP_negate_function_exit"); printf ("DW_LNE_HP_negate_function_exit\n");
break; break;
case DW_LNE_HP_negate_front_end_logical: case DW_LNE_HP_negate_front_end_logical:
printf ("DW_LNE_HP_negate_front_end_logical"); printf ("DW_LNE_HP_negate_front_end_logical\n");
break; break;
case DW_LNE_HP_define_proc: case DW_LNE_HP_define_proc:
printf ("DW_LNE_HP_define_proc"); printf ("DW_LNE_HP_define_proc\n");
break; break;
default: default:

View File

@ -1,3 +1,7 @@
2009-04-24 Cary Coutant <ccoutant@google.com>
* dwarf2.h (DW_LNE_set_discriminator): New enum value.
2009-04-15 Anthony Green <green@moxielogic.com> 2009-04-15 Anthony Green <green@moxielogic.com>
* common.h (EM_MOXIE): Define. * common.h (EM_MOXIE): Define.

View File

@ -709,6 +709,7 @@ enum dwarf_line_number_x_ops
DW_LNE_end_sequence = 1, DW_LNE_end_sequence = 1,
DW_LNE_set_address = 2, DW_LNE_set_address = 2,
DW_LNE_define_file = 3, DW_LNE_define_file = 3,
DW_LNE_set_discriminator = 4,
/* HP extensions. */ /* HP extensions. */
DW_LNE_HP_negate_is_UV_update = 0x11, DW_LNE_HP_negate_is_UV_update = 0x11,
DW_LNE_HP_push_context = 0x12, DW_LNE_HP_push_context = 0x12,