aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2009-04-24 18:28:59 +0000
committerCary Coutant <ccoutant@google.com>2009-04-24 18:28:59 +0000
commited4a4bdfe47b205396b0e375dc9ddd560c8db00e (patch)
treeb72b86b481ce4ff5150413f01aa6cf668865af9a /binutils
parent95e62385f52b6750ffb30c62d748e77f8804340a (diff)
downloadgdb-ed4a4bdfe47b205396b0e375dc9ddd560c8db00e.zip
gdb-ed4a4bdfe47b205396b0e375dc9ddd560c8db00e.tar.gz
gdb-ed4a4bdfe47b205396b0e375dc9ddd560c8db00e.tar.bz2
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.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/dwarf.c25
2 files changed, 20 insertions, 10 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 73c05c8..0e2d554 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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>
* objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 72efe3e..c8b10f0 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -328,36 +328,41 @@ process_extended_line_op (unsigned char *data, int is_stmt)
printf (_("%s\n\n"), name);
break;
+ case DW_LNE_set_discriminator:
+ printf (_("set Discriminator to %lu\n"),
+ read_leb128 (data, & bytes_read, 0));
+ break;
+
/* HP extensions. */
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;
case DW_LNE_HP_push_context:
- printf ("DW_LNE_HP_push_context");
+ printf ("DW_LNE_HP_push_context\n");
break;
case DW_LNE_HP_pop_context:
- printf ("DW_LNE_HP_pop_context");
+ printf ("DW_LNE_HP_pop_context\n");
break;
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;
case DW_LNE_HP_set_routine_name:
- printf ("DW_LNE_HP_set_routine_name");
+ printf ("DW_LNE_HP_set_routine_name\n");
break;
case DW_LNE_HP_set_sequence:
- printf ("DW_LNE_HP_set_sequence");
+ printf ("DW_LNE_HP_set_sequence\n");
break;
case DW_LNE_HP_negate_post_semantics:
- printf ("DW_LNE_HP_negate_post_semantics");
+ printf ("DW_LNE_HP_negate_post_semantics\n");
break;
case DW_LNE_HP_negate_function_exit:
- printf ("DW_LNE_HP_negate_function_exit");
+ printf ("DW_LNE_HP_negate_function_exit\n");
break;
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;
case DW_LNE_HP_define_proc:
- printf ("DW_LNE_HP_define_proc");
+ printf ("DW_LNE_HP_define_proc\n");
break;
default: