This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[review] Test making delayed_method_info vectors local variables


Tom Tromey has posted comments on this change.

Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/128
......................................................................


Patch Set 1:

FWIW I think the idea is that `dwarf2_cu` should exist just to hold
temporary data that's used when reading a CU -- and then be discarded.
So, in effect, it should already be a form of local variable.

Whether or not it works this way in practice is hard to tell, because
dwarf2read has a spaghetti-like nature.  It would be great to clean
all this up (say, replace things like `init_cutu_and_read_dies` with
a constructor), but of course that's a big job.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]