mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 01:45:52 +08:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user