diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-01-27 23:40:39 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2003-01-27 23:40:39 +0000 |
commit | 52b69c9e01afa3fffa5f9e83d7e560f47610d651 (patch) | |
tree | 1e37986d00a6ab87bb94c6cbde27545cfbc98c6b /bfd/bfd-in2.h | |
parent | a4cb6c4d873314478195509d38117def417889d8 (diff) | |
download | gdb-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-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 84ef801..25f2f96 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -3536,6 +3536,9 @@ bfd_copy_private_symbol_data PARAMS ((bfd *ibfd, asymbol *isym, bfd *obfd, asymb /* Extracted from bfd.c. */ struct _bfd { + /* A unique identifier of the BFD */ + unsigned int id; + /* The filename the application opened the BFD with. */ const char *filename; |