Next: Set, Up: Information [Contents][Index]
This info command (abbreviated i) is for describing the state of
your program. For example, you can list the current $1, $2
parameters with info args, or list the breakpoints you have set
with info breakpoints or info watchpoints. You can get
a complete list of the info sub-commands with help info.
info targets [verbose]Use info targets to 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 programUse info program to 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 breakUse info break to 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>
info lineShows the line number and file of for the place that you are currently stopped.
$ remake -X -f test1.mk ... remake<0> info line Line 5 of "/tmp/test1.mk" remake<1>
info linesShows for each Makefile the line numbers that targets appear.
$ remake -X -f test1.mk
...
remake<0> info lines
test1.mk
2: .PHONY
3: all
5: foo
remake<1>
info localsDisplays a the values of the automatic variables.
info makefilesDisplays the list of Makefiles read in the order that they were read in. The last Makefile listed is the one you started with (e.g. Makefile).
info warrantyDisplays GNU Warranty
Next: Set, Up: Information [Contents][Index]