GNU bug report logs - #29548
25.2; How to DEBUG get-device-terminal

Previous Next

Package: emacs;

Reported by: Live System User <nyc4bos <at> aol.com>

Date: Sun, 3 Dec 2017 15:43:01 UTC

Severity: normal

Tags: moreinfo, wontfix

Merged with 22362, 23378

Found in versions 24.5, 25.0.92, 25.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 29548 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Live System User <nyc4bos <at> aol.com>
Cc: 29548 <at> debbugs.gnu.org
Subject: Re: bug#29548: 25.2; How to DEBUG get-device-terminal
Date: Wed, 6 Dec 2017 14:56:45 -0500
On Wed, Dec 6, 2017 at 1:49 PM, Live System User <nyc4bos <at> aol.com> wrote:

> Lisp Backtrace:
> "signal" (0x5e974a98)
> "error" (0x5e974c48)
> "get-device-terminal" (0x5e974e08)
> "frames-on-display-list" (0x5e974fc0)
> 0x8a6a38 PVEC_COMPILED
> "mapcar" (0x5e9753a8)
> "internal--before-save-selected-window" (0x5e9755b0)

So this function is getting the terminal list by calling
list-terminals. Try printing them out in gdb, by entering the
following:

define print_terminal_list
set $t = terminal_list
while $t
print *$t
set $t = $t->next_terminal
end
end
print_terminal_list

The gdb command window should like this when you do that

(gdb) define print_terminal_list
Type commands for definition of "print_terminal_list".
End with a line saying just "end".
>set $t = terminal_list
>while $t
 >print *$t
 >set $t = $t->next_terminal
 >end
>end
(gdb) print_terminal_list
$7 = {
...[printout of terminals follows]




This bug report was last modified 6 years and 134 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.