Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Emacs and GDB - exiting debug mode


    I just recently started using emacs integrated with GDB (with GUD) for development. I had a question and I didn't know the terminology well enough to be able to successfully google it. Basically this is my problem. So I start GDB in one window and have the code in the other. I set a breakpoint in my code window. I call "run" in the gdb window and I can step through my program, there is an arrow in the code section and everything is happy. But after the program ends or is killed, the window with the code buffer still shows an arrow there and I can't edit the code (buffer is read-only). How can I get the code back into editable mode?


  2. #2
    I found out the problem was because of my version control system. It had nothing to do with emacs or GDB.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts