top | item 46925115 (no title) manofmanysmiles | 22 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! discuss order hn newest HarHarVeryFunny|22 days ago Do you mean gdb batch mode (which I've heard of others using with LLMs), or the LLM using gdb interactively ? manofmanysmiles|18 days ago 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.
HarHarVeryFunny|22 days ago Do you mean gdb batch mode (which I've heard of others using with LLMs), or the LLM using gdb interactively ? manofmanysmiles|18 days ago 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.
manofmanysmiles|18 days ago 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.
HarHarVeryFunny|22 days ago
manofmanysmiles|18 days ago
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.