emacs-devel
[Top][All Lists]
Advanced

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

Re: Your changes in revision 106240


From: Paul Eggert
Subject: Re: Your changes in revision 106240
Date: Sun, 30 Oct 2011 23:23:06 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 10/30/11 00:27, Eli Zaretskii wrote:
> It is unreasonable to ask GDB to display a list
> that is longer than a small number of items.

First, list display need not be involved.  For example:

  set $len = Flength (which_symbols (Qnil, $my_limit))
  pp $len

These GDB commands print a count of how many symbols have
the value nil, while not bothering to count any symbols more than
an upper bound of $my_limit.  On a 64-bit host, there's no good
reason for these commands to misbehave merely because $my_limit
exceeds 2**32.

Second, even if display is involved, it is sometimes reasonable to
ask for the display of a long list.  For example, when debugging
Emacs under GDB, I sometimes generate long outputs which I then
analyze with other tools.




reply via email to

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