diff options
| author | Ulrich Drepper <[email protected]> | 2009-02-05 22:04:26 -0800 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2009-02-05 22:04:26 -0800 |
| commit | 411cdb2ecc2acc797816dd7de210bfe89a5a55c4 (patch) | |
| tree | 3b66cc4de3292bc1867656877d89cf3654920e20 | |
| parent | f44f0ce23904ad047a4138474b6ad99afdcd7916 (diff) | |
Minor output problems in readelf debug_info section printing fixed.
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/readelf.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 14f4f270..71a6da2f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-02-05 Ulrich Drepper <[email protected]> + + * readelf.c (print_cfa_program): Correct a few labels. + 2009-02-01 Ulrich Drepper <[email protected]> * objdump.c (show_relocs_rel, show_relocs_rela): Split common parts diff --git a/src/readelf.c b/src/readelf.c index bc0e4fd0..51ce144d 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; |
