added gdb run for print and list