Print multiple variables with one command in GDB March 19, 2023 by Tarik You can simply do this print {var1,var2,var3,var4} This will do the job.