Thread: emacs question

  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    16

    emacs question

    I am using emacs. I am in the shell, using gdb, and when I do disas what ever, it does off the screen what to I do so I can view the whole thing?

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Huh? If you are using gdb inside emacs (M-x gdb) then you should be able to scroll back up. If you are NOT using gdb from inside emacs, I don't understand why your subject is "emacs question", and you need to configure the history/scrollback settings for whatever terminal/command prompt you are using for the gdb command.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by uscuba2 View Post
    I am using emacs. I am in the shell, using gdb, and when I do disas what ever, it does off the screen what to I do so I can view the whole thing?
    Don't run gdb from the shell. Emacs has a built-in gdb mode.

    M-x gdb
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM