scripts/gdb: add basic documentation