[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: better "pr" with gdb-6.4
From: |
Kim F. Storm |
Subject: |
Re: better "pr" with gdb-6.4 |
Date: |
Tue, 07 Feb 2006 11:51:41 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Nick Roberts <address@hidden> 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 <address@hidden> http://www.cua.dk