add dump test for gdb