aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-01-27 23:40:39 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-01-27 23:40:39 +0000
commit52b69c9e01afa3fffa5f9e83d7e560f47610d651 (patch)
tree1e37986d00a6ab87bb94c6cbde27545cfbc98c6b /bfd/bfd.c
parenta4cb6c4d873314478195509d38117def417889d8 (diff)
downloadgdb-52b69c9e01afa3fffa5f9e83d7e560f47610d651.zip
gdb-52b69c9e01afa3fffa5f9e83d7e560f47610d651.tar.gz
gdb-52b69c9e01afa3fffa5f9e83d7e560f47610d651.tar.bz2
* bfd.c (struct _bfd): Added id field.
* opncls.c (_bfd_id_counter): New static variable. (_bfd_new_bfd): Use it. * bfd-in2.h: Rebuilt.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index f9051c0..1a332a8 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -36,6 +36,9 @@ CODE_FRAGMENT
.
.struct _bfd
.{
+. {* A unique identifier of the BFD *}
+. unsigned int id;
+.
. {* The filename the application opened the BFD with. *}
. const char *filename;
.