Comment by manofmanysmiles

15 days ago

I've found LLMs (since Opus 4.5) exceptionally good at reading and writing and debugging assembly.

Give them gdb/lldb and have your mind blown!

Do you mean gdb batch mode (which I've heard of others using with LLMs), or the LLM using gdb interactively ?

  • I wrote a wrapper python script debug.py that will run gdb as a subprocess, and then takes input from the args.

    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.