scripts/gdb: add infrastructure