mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 13:23:10 +08:00
* objfiles.h (struct objfile): Remove obsolete comment.
* objfiles.c (build_objfile_section_table): Remove obsolete comment.
This commit is contained in:
@ -173,19 +173,9 @@ 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.
|
||||
|
||||
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. */
|
||||
The program space field "objfiles" (frequently referenced via
|
||||
the macro "object_files") points to the first link in this
|
||||
chain. */
|
||||
|
||||
struct objfile *next;
|
||||
|
||||
|
Reference in New Issue
Block a user