Added statement execution for GDB.

Only supports setting variables and executing functions, because that's
what GDB supports(via different commands)(I think - didn't find anything
else...)