info command (abbreviated
i) is for describing the state of
your program. For example, you can list the current
info args, or list the breakpoints you have set
info breakpoints or
info watchpoints. You can get
a complete list of the
info sub-commands with
info targetsto get a list of all the targets explicitly mentioned in the makefiles that are read. The location of each target is given before the target name.
The result of running this on the sample makefile used in Tracing Not:
remake<0> info targets test1.mk:2: .PHONY test1.mk:3: all test1.mk:5: foo remake<1>
info programto give information about the state of the stopping point.
remake<0> info program Starting directory `/tmp' Program invocation: /usr/bin/remake -f /tmp/test1.mk Recursion level: 0 Line 5 of "/tmp/test1.mk" Program stopped at a breakpoint before rule-prequisite checking.
info breakto give a list of breakpoint currently in effect.
remake<0> info break Num Type Disp Enb target What 1 breakpoint keep y in all at /tmp/test1.mk:3 2 breakpoint keep y in foo at /tmp/test1.mk:5 remake<1>
$ remake -X -f test1.mk ... remake<0> info line Line 5 of "/tmp/test1.mk" remake<1>
$ remake -X -f test1.mk ... remake<0> info lines test1.mk 2: .PHONY 3: all 5: foo remake<1>