aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-05-30 07:47:56 +0000
committerAlan Modra <amodra@gmail.com>2000-05-30 07:47:56 +0000
commitfb101eadc0efaa6726ba84fd84c97ddd28eb29ca (patch)
tree9b2cbd54946854f6e708ae86a526cb0bd356ad4f /binutils/objdump.c
parent0b8f9e4d9d9f1251b8bbc23b2a0aedaacca1af97 (diff)
downloadgdb-fb101eadc0efaa6726ba84fd84c97ddd28eb29ca.zip
gdb-fb101eadc0efaa6726ba84fd84c97ddd28eb29ca.tar.gz
gdb-fb101eadc0efaa6726ba84fd84c97ddd28eb29ca.tar.bz2
Fix my inept 2000-05-24 change.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 522f6ec..4adabd2 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -2653,7 +2653,7 @@ display_target_list ()
{
if (bfd_get_error () != bfd_error_invalid_operation)
nonfatal (p->name);
- bfd_close (abfd);
+ bfd_close_all_done (abfd);
continue;
}
@@ -2661,7 +2661,7 @@ display_target_list ()
if (bfd_set_arch_mach (abfd, (enum bfd_architecture) a, 0))
printf (" %s\n",
bfd_printable_arch_mach ((enum bfd_architecture) a, 0));
- bfd_close (abfd);
+ bfd_close_all_done (abfd);
}
unlink (dummy_name);
free (dummy_name);
@@ -2730,7 +2730,7 @@ display_info_table (first, last)
putchar (' ');
}
if (abfd != NULL)
- bfd_close (abfd);
+ bfd_close_all_done (abfd);
}
putchar ('\n');
}