From 596f7d6703497a1482059bee3b0d54bb5e40ccf9 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 23 Jul 2012 15:01:50 +0000 Subject: [PATCH] * gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment. --- gdb/ChangeLog | 4 ++++ gdb/gdb_bfd.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a8cd9360b98..0f7f24a0702 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-07-23 Tom Tromey + + * gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment. + 2012-07-23 Tom Tromey * coffread.c (coff_symfile_read): Make a cleanup for 'debugfile' diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c index 095d0f34e25..aa222b9ba70 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) -- 2.30.2