[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x gdb with large files

From: Klaus Zeitler
Subject: Re: M-x gdb with large files
Date: Thu, 01 Jun 2006 12:05:43 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (usg-unix-v)

>>>>> "Nick" == Nick Roberts <address@hidden> writes:
    Nick> Which part takes the long time "gdb --annotate=3 <image-name> core"
    Nick> or "up"?

In my previous post I said:

 > Another thing that is a bit odd is, that the gdb prompt in emacs appears
 > after about 15 seconds, which makes the user think that emacs/gdb is ready.
 > But when I enter e.g. 'h RET', I have to wait for nearly 2 minutes till the
 > help output is printed.

This was the problem that was confusing me. When the gdb prompt appeared,
I assumed gdb was ready and when I entered up, I had to wait 2 more minutes.
But it doesn't matter what command one enters, even a 'quit' will do.
Nothing fancy needed (no core, no specific gdb commands). 
All I'm doing now is:
1. start emacs -Q
2. M-x gdb -> gdb --annotate=3 <image-name>
3. as soon as the prompt appears, I type quit and then I have to wait for
   2 minutes till gdb finally exits
But when I use "gdb --fullname", the same sequence takes about 15-20 seconds,
i.e. entering 'q' in gdb will immediately terminate gdb.

I should have analyzed this earlier, sorry for leading you on the wrong track.

    Nick>   Which version are you running?

6.4 (just installed it last week) or 6.3
    Nick>  if you have a lot of sources/buffer open.

no, I start a plain emacs and then gdb right away

    Nick>   Can you set gdb-enable-debug to to t, start GDB and post the
    Nick>   values of gdb-debug-ring to emacs-devel, if it's not too
    Nick>   big/sensitive (you can post this to me directly if you like).

Will do.



|  Klaus Zeitler      Lucent Technologies  |
|  Email:             address@hidden  |
God is real, unless declared integer.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]