diff options
author | Fred Fish <fnf@specifix.com> | 1992-04-17 02:59:43 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-04-17 02:59:43 +0000 |
commit | 2d6d969c616d286076df1778db0d06a64f11251a (patch) | |
tree | 1cd211eb346eef7d90fcfbbb6e2ba561138f06bd /gdb/objfiles.h | |
parent | d453b386ac60cb219f5949da95cb99d1e22ad6b9 (diff) | |
download | gdb-2d6d969c616d286076df1778db0d06a64f11251a.zip gdb-2d6d969c616d286076df1778db0d06a64f11251a.tar.gz gdb-2d6d969c616d286076df1778db0d06a64f11251a.tar.bz2 |
Fix to dwarfread.c to target pointer and target long sizes, fixes for
mapped symbol file handling, and a couple of other misc small fixes.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index 554c9b8..d158fbb 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -124,7 +124,18 @@ struct objfile /* All struct objfile's are chained together by their next pointers. The global variable "object_files" points to the first link in this - chain. */ + chain. + + FIXME: There is a problem here if the objfile is reusable, and if + multiple users are to be supported. The problem is that the objfile + list is linked through a member of the objfile struct itself, which + is only valid for one gdb process. The list implementation needs to + be changed to something like: + + struct list {struct list *next; struct objfile *objfile}; + + where the list structure is completely maintained separately within + each gdb process. */ struct objfile *next; @@ -205,6 +216,12 @@ struct objfile PTR md; + /* The file descriptor that was used to obtain the mmalloc descriptor + for this objfile. If we call mmalloc_detach with the malloc descriptor + we should then close this file descriptor. */ + + int mmfd; + /* Structure which keeps track of functions that manipulate objfile's of the same type as this objfile. I.E. the function to read partial symbols for example. Note that this structure is in statically |