Some clean-up by replacing old-style "send_gdb / gdb_expect" with gdb_test.