From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: better "pr" with gdb-6.4 Date: Tue, 07 Feb 2006 11:51:41 +0100 Message-ID: References: <200602051840.k15IeONe013609@scanner2.ics.uci.edu> <200602070004.k1704vJF000960@scanner2.ics.uci.edu> <17384.2154.16730.449835@kahikatea.snap.net.nz> <17384.30098.596419.302015@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139315154 25487 80.91.229.2 (7 Feb 2006 12:25:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Feb 2006 12:25:54 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 07 13:25:50 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F6Rul-000834-Le for ged-emacs-devel@m.gmane.org; Tue, 07 Feb 2006 13:25:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F6Rk5-0006W9-FR for ged-emacs-devel@m.gmane.org; Tue, 07 Feb 2006 07:14:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F6Qzb-0006rS-F8 for emacs-devel@gnu.org; Tue, 07 Feb 2006 06:26:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F6Qnt-0005nt-9c for emacs-devel@gnu.org; Tue, 07 Feb 2006 06:17:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F6QVz-0003wB-M5 for emacs-devel@gnu.org; Tue, 07 Feb 2006 05:56:08 -0500 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F6QVh-0002UB-Do for emacs-devel@gnu.org; Tue, 07 Feb 2006 05:55:49 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id 95FFD262810; Tue, 7 Feb 2006 11:52:34 +0100 (CET) Original-To: Nick Roberts In-Reply-To: <17384.30098.596419.302015@kahikatea.snap.net.nz> (Nick Roberts's message of "Tue, 7 Feb 2006 23:25:22 +1300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50146 Archived-At: Nick Roberts writes: > Sorry I wasn't clear. They're meant as alternatives. Ok, but I would like ppargs to print a short form like this: (load "..." t t t) > > > Actually, it would alse be useful if you could enhance > > xbacktrace to recognize when the current frame is Ffuncall and > > print the args at that level (maybe for other functions too). > > But only some of the lisp backtrace appears as calls to Ffuncall (the > primitives?). In the example that I gave, the lisp backtrace has two > levels: > > Lisp Backtrace: > "load" > "normal-top-level" > > but the C backtrace has only one call to Ffuncall (for load): Is it possible to write a macro that would traverse up the C stack and do something sensible for "known functions" like Ffuncall and Feval. -- Kim F. Storm http://www.cua.dk