This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/3] move the "main" data into the per-BFD object
- From: Tom Tromey <tromey at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 06 Jan 2014 14:11:14 -0700
- Subject: Re: [PATCH 3/3] move the "main" data into the per-BFD object
- Authentication-results: sourceware.org; auth=none
- References: <1389028297-16977-1-git-send-email-tromey at redhat dot com> <1389028297-16977-4-git-send-email-tromey at redhat dot com> <CADPb22T4fBYr_BEELyju=p8ORPbvBMQTvnrQim6KYcDT9n+SRg at mail dot gmail dot com> <87vbxxm1nh dot fsf at fleche dot redhat dot com> <CADPb22RhAyuuE0wObosYdKFNwsSWAG8iYpPkPggoNxri5Tw4oQ at mail dot gmail dot com>
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Doug> Can I ask for a comment in the code explaining why things are the
Doug> way they are.
Sure.
Doug> (btw, is it written down anywhere that
Doug> ALL_OBJFILES traverses files in load order? If there is such an
Doug> invariant, it would be good for future readers to know).
I don't recall that it is. It's an effect of how the objfile list is
created. But IIRC other code depends on this already; but perhaps there
are scenarios where it can be made in another order, I am not certain.
Tom