test_gdb: use Breakpoint::State, anticipating potential future API changes