diff options
Diffstat (limited to 'gdb/gdb_bfd.h')
-rw-r--r-- | gdb/gdb_bfd.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/gdb_bfd.h b/gdb/gdb_bfd.h index 1dd82c3..f5b6103 100644 --- a/gdb/gdb_bfd.h +++ b/gdb/gdb_bfd.h @@ -35,14 +35,14 @@ void gdb_bfd_stash_filename (struct bfd *abfd); struct bfd *gdb_bfd_open (const char *name, const char *target, int fd); -/* Acquire a new reference to ABFD. Returns ABFD for convenience. - It is fine for ABFD to be NULL; in this case the function does - nothing and returns NULL. */ +/* Increment the reference count of ABFD. It is fine for ABFD to be + NULL; in this case the function does nothing. */ -struct bfd *gdb_bfd_ref (struct bfd *abfd); +void gdb_bfd_ref (struct bfd *abfd); -/* Release a reference to ABFD. If this is the last reference, ABFD - will be freed. If ABFD is NULL, this function does nothing. */ +/* Decrement the reference count of ABFD. If this is the last + reference, ABFD will be freed. If ABFD is NULL, this function does + nothing. */ void gdb_bfd_unref (struct bfd *abfd); |