Do you mean gdb batch mode (which I've heard of others using with LLMs), or the LLM using gdb interactively ?
Usage is somewhat like:
$ debug.py start $ debug.py -c "break main" $ debug.py -c "continue"
Cursor at least doesn't seem to like running interactive programs yet.