I was able to trace the issue. The newer version of gdb expects document's matching 'end' to start from the first column.
Remove all end spaces before every 'end' (document's end). Your gdbinit file would work. ** Changed in: gdb (Ubuntu) Assignee: (unassigned) => James Pandavan (james-pandavan) ** Changed in: gdb (Ubuntu) Status: Confirmed => In Progress -- gdb doesn't read user-defined commands from .gdbinit https://bugs.launchpad.net/bugs/461594 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs