Right now all gdb exceptions are turned into RuntimeException instances. We should have a gdb-specific exception class instead. It should be derived from RuntimeException, so that existing code does not break. Mark F. suggested "gdb.error" as the name, by analogy with "os.error" and others from the python core. We could add further subclasses to distinguish the different kinds of gdb exception.
Fix checked in.