[PATCH 3/3] move the "main" data into the per-BFD object

Tom Tromey tromey@redhat.com
Mon Jan 6 21:11:00 GMT 2014


>>>>> "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



More information about the Gdb-patches mailing list