emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging Emacs with threads


From: Eli Zaretskii
Subject: Re: Debugging Emacs with threads
Date: Mon, 12 Dec 2016 19:38:00 +0200

> From: Ken Raeburn <address@hidden>
> Date: Sun, 11 Dec 2016 22:18:16 -0500
> Cc: Tom Tromey <address@hidden>,
>  address@hidden
> 
> Perhaps a new thread-local variable which has the value of current_thread 
> when the thread is the current Lisp thread.  Or we could invoke 
> sys_thread_self() to compare against current_thread->thread_id; it’s not like 
> xbacktrace works on a core file anyway.  (I’m assuming GDB will invoke a 
> function or look at TLS in the context of the current OS thread, or the 
> appropriate OS thread when invoked via something like “thread apply all bt”.)

Thanks, I will see if I can solve the problem that way.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]