]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Minor output problems in readelf debug_info section printing fixed.
authorUlrich Drepper <drepper@redhat.com>
Fri, 6 Feb 2009 06:04:26 +0000 (22:04 -0800)
committerUlrich Drepper <drepper@redhat.com>
Fri, 6 Feb 2009 06:04:26 +0000 (22:04 -0800)
src/ChangeLog
src/readelf.c

index 14f4f27040f5b14d8309c86f2c9232cd5b4b93e6..71a6da2fa5f4bebe43fee183263bf6b2cbcf0ce7 100644 (file)
@@ -1,3 +1,7 @@
+2009-02-05  Ulrich Drepper  <drepper@redhat.com>
+
+       * readelf.c (print_cfa_program): Correct a few labels.
+
 2009-02-01  Ulrich Drepper  <drepper@redhat.com>
 
        * objdump.c (show_relocs_rel, show_relocs_rela): Split common parts
index bc0e4fd038edb9c7390fe61490111093a32b47a5..51ce144d39c9bc0c31b575c7bc899b1637ec9e57 100644 (file)
@@ -4292,7 +4292,7 @@ print_cfa_program (const unsigned char *readp, const unsigned char *const endp,
          case DW_CFA_def_cfa_expression:
            // XXX overflow check
            get_uleb128 (op1, readp);   /* Length of DW_FORM_block.  */
-           printf ("     val_expression %" PRIu64 "\n", op1);
+           printf ("     def_cfa_expression %" PRIu64 "\n", op1);
            print_ops (dwflmod, dbg, 10, 10, ptr_size, op1, readp);
            readp += op1;
            error (1,0,"need to implement BLOCK reading");
@@ -4301,7 +4301,7 @@ print_cfa_program (const unsigned char *readp, const unsigned char *const endp,
            // XXX overflow check
            get_uleb128 (op1, readp);
            get_uleb128 (op2, readp);   /* Length of DW_FORM_block.  */
-           printf ("     val_expression %" PRIu64 "\n", op1);
+           printf ("     expression %" PRIu64 "\n", op1);
            print_ops (dwflmod, dbg, 10, 10, ptr_size, op2, readp);
            readp += op2;
            break;