From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Your changes in revision 106240 Date: Sun, 30 Oct 2011 23:23:06 -0700 Organization: UCLA Computer Science Department Message-ID: <4EAE3ECA.1060401@cs.ucla.edu> References: <83d3df8qod.fsf@gnu.org> <4EACBA10.9010007@cs.ucla.edu> <4EACE96E.9070800@cs.ucla.edu> <4EACF996.5000609@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1320042203 13545 80.91.229.12 (31 Oct 2011 06:23:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Oct 2011 06:23:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 31 07:23:20 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RKlHD-00012v-Vn for ged-emacs-devel@m.gmane.org; Mon, 31 Oct 2011 07:23:20 +0100 Original-Received: from localhost ([::1]:49924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKlHD-0002Cv-Bn for ged-emacs-devel@m.gmane.org; Mon, 31 Oct 2011 02:23:19 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKlHB-0002Cb-4v for emacs-devel@gnu.org; Mon, 31 Oct 2011 02:23:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKlHA-0000oV-DD for emacs-devel@gnu.org; Mon, 31 Oct 2011 02:23:17 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:36448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKlH8-0000nG-IK; Mon, 31 Oct 2011 02:23:14 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id CBE75A60002; Sun, 30 Oct 2011 23:23:04 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8xuasm6fUuXH; Sun, 30 Oct 2011 23:23:04 -0700 (PDT) Original-Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 6A9D4A60001; Sun, 30 Oct 2011 23:23:04 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145813 Archived-At: 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.