From: Ulrich Drepper Date: Fri, 6 Feb 2009 06:04:26 +0000 (-0800) Subject: Minor output problems in readelf debug_info section printing fixed. X-Git-Tag: elfutils-0.140~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=411cdb2ecc2acc797816dd7de210bfe89a5a55c4;p=thirdparty%2Felfutils.git Minor output problems in readelf debug_info section printing fixed. --- diff --git a/src/ChangeLog b/src/ChangeLog index 14f4f2704..71a6da2fa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-02-05 Ulrich Drepper + + * readelf.c (print_cfa_program): Correct a few labels. + 2009-02-01 Ulrich Drepper * objdump.c (show_relocs_rel, show_relocs_rela): Split common parts diff --git a/src/readelf.c b/src/readelf.c index bc0e4fd03..51ce144d3 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -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;