334 |
|
|
335 |
define xbacktrace |
define xbacktrace |
336 |
set $bt = backtrace_list |
set $bt = backtrace_list |
337 |
while $bt |
while $bt |
338 |
set $type = (enum Lisp_Type) ((*$bt->function >> gdb_valbits) & 0x7) |
set $type = (enum Lisp_Type) ((*$bt->function >> gdb_valbits) & 0x7) |
339 |
if $type == Lisp_Symbol |
if $type == Lisp_Symbol |
340 |
xprintsym *$bt->function |
xprintsym *$bt->function |
353 |
end |
end |
354 |
document xbacktrace |
document xbacktrace |
355 |
Print a backtrace of Lisp function calls from backtrace_list. |
Print a backtrace of Lisp function calls from backtrace_list. |
356 |
Set a breakpoint at Fsignal and call this to see from where |
Set a breakpoint at Fsignal and call this to see from where |
357 |
an error was signaled. |
an error was signaled. |
358 |
end |
end |
359 |
|
|