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 | 0bff8dcc0b4d1797acb9320839c14c79717c29e1 (patch) | |
tree | 8fac6bdef47ae816de2f6617ee8036b28cc9f83c /bfd/bfd-in2.h | |
parent | efc0ba892b670813ab1dde1098100b341f7c43be (diff) | |
download | gdb-0bff8dcc0b4d1797acb9320839c14c79717c29e1.tar.gz |
* 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 84ef8017ead..25f2f96c718 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; |