diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2002-05-19 16:17:54 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2002-05-19 16:17:54 +0000 |
commit | f462a9ea21643369d0dd4327c69c0a802cb3da35 (patch) | |
tree | f2b7318286b6237a5e8fd8a2b16d7492628f1bf4 /binutils/coffdump.c | |
parent | d13351445b92959ed7963e4c5e6a51741bf7f394 (diff) | |
download | gdb-f462a9ea21643369d0dd4327c69c0a802cb3da35.zip gdb-f462a9ea21643369d0dd4327c69c0a802cb3da35.tar.gz gdb-f462a9ea21643369d0dd4327c69c0a802cb3da35.tar.bz2 |
* addr2line.c: Fix formatting.
* ar.c: Likewise.
* arsup.c: Likewise.
* arsup.h: Likewise.
* binemul.c: Likewise.
* binemul.h: Likewise.
* bucomm.c: Likewise.
* coffdump.c: Likewise.
* coffgrok.c: Likewise.
* coffgrok.h: Likewise.
Diffstat (limited to 'binutils/coffdump.c')
-rw-r--r-- | binutils/coffdump.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/binutils/coffdump.c b/binutils/coffdump.c index 065e9e1..34ae161 100644 --- a/binutils/coffdump.c +++ b/binutils/coffdump.c @@ -106,7 +106,7 @@ dump_coff_lines (p) tab (1); printf (_("#lines %d "),p->nlines); - for (i = 0; i < p->nlines; i++) + for (i = 0; i < p->nlines; i++) { printf ("(%d 0x%x)", p->lines[i], p->addresses[i]); @@ -133,7 +133,7 @@ dump_coff_type (p) switch (p->type) { case coff_secdef_type: - printf ("section definition at %x size %x\n", + printf ("section definition at %x size %x\n", p->u.asecdef.address, p->u.asecdef.size); nl (); @@ -427,14 +427,14 @@ dump_coff_section(ptr) int i; tab (1); - printf ("section %s %d %d address %x size %x number %d nrelocs %d", + printf ("section %s %d %d address %x size %x number %d nrelocs %d", ptr->name, ptr->code, ptr->data, ptr->address,ptr->size, ptr->number, ptr->nrelocs); nl (); - for (i = 0; i < ptr->nrelocs; i++) + for (i = 0; i < ptr->nrelocs; i++) { - tab (0); + tab (0); printf ("(%x %s %x)", ptr->relocs[i].offset, ptr->relocs[i].symbol->name, |