try running the same program with machine-interface enabled gdb --interface mi2 it's obscure and awkward without a program behind it, no console editing, it barely copes with backspace. the syntax is completely different, but the docs online are helpful and correct. l.