Re: Clarification of 2 Trivial Issues?
Jon Forrest <[email protected]> Thu, 17 Feb 2022 09:57:56 -0800
| Newsgroups | gmane.comp.gnu.make.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2/17/2022 9:52 AM, Paul Smith wrote: > On Thu, 2022-02-17 at 08:34 -0800, Jon Forrest wrote: >> Am I right in assuming that the "file" struct for "main.o" will >> have nothing in its "prev" and "next" fields, but its "dep" >> field will have a chain of 2 "dep" structures, one for "main.c" >> and the other for "defs.h" because "main.c" and "def.h" are >> dependencies of "main.o"? > > I'm not sure what you mean by "next" field in the "file" struct, but > other than that I believe this is correct. Stupid me. I meant "last", not "next". > Of course, you can always break out your trusty debugger and take a > look for yourself as well :). I do that all the time. Visual Studio code is my friend. The hard part is finding the right location to set a breakpoint to answer the question. Thanks, as always. Jon