I want to execute the very simple command
print var1, var2, var3, var4
in gdb to examine the values of the vars from time to time.
I don't want to use display because it clutters up my view.
How can I do this? Right now all I can do is:
p var1
p var2
p var3
p var4