aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-07-23 15:01:50 +0000
committerTom Tromey <tromey@redhat.com>2012-07-23 15:01:50 +0000
commit596f7d6703497a1482059bee3b0d54bb5e40ccf9 (patch)
treecb91ff016283e6a51e196f2512185fd0eb379d4a /gdb
parent8ac244b433d5d36b787afd36f7144069e7d837e0 (diff)
downloadgdb-596f7d6703497a1482059bee3b0d54bb5e40ccf9.zip
gdb-596f7d6703497a1482059bee3b0d54bb5e40ccf9.tar.gz
gdb-596f7d6703497a1482059bee3b0d54bb5e40ccf9.tar.bz2
* gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/gdb_bfd.c4
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)