diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdb_bfd.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a8cd936..0f7f24a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2012-07-23 Tom Tromey <tromey@redhat.com> + * gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment. + +2012-07-23 Tom Tromey <tromey@redhat.com> + * coffread.c (coff_symfile_read): Make a cleanup for 'debugfile' and 'abfd'. * elfread.c (elf_symfile_read): Make a cleanup for 'debugfile' diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c index 095d0f3..aa222b9 100644 --- a/gdb/gdb_bfd.c +++ b/gdb/gdb_bfd.c @@ -218,7 +218,7 @@ gdb_bfd_close_or_warn (struct bfd *abfd) return ret; } -/* Add reference to ABFD. Returns ABFD. */ +/* See gdb_bfd.h. */ void gdb_bfd_ref (struct bfd *abfd) @@ -242,7 +242,7 @@ gdb_bfd_ref (struct bfd *abfd) bfd_usrdata (abfd) = gdata; } -/* Unreference and possibly close ABFD. */ +/* See gdb_bfd.h. */ void gdb_bfd_unref (struct bfd *abfd) |