Fix contributed by Thierry Sans.
@struct{list_elem} field used inside @struct{thread} to link the threads
together.
@struct{list_elem} field used inside @struct{thread} to link the threads
together.
-Example: @code{btthreadlist all_list allelem} shows the backtraces of
+Example: @code{btthreadlist &all_list allelem} shows the backtraces of
all threads contained in @code{struct list all_list}, linked together by
@code{allelem}. This command is useful to determine where your threads
are stuck when a deadlock occurs. Please see the example scenario below.
@end deffn
@deffn {GDB Macro} btthreadall
all threads contained in @code{struct list all_list}, linked together by
@code{allelem}. This command is useful to determine where your threads
are stuck when a deadlock occurs. Please see the example scenario below.
@end deffn
@deffn {GDB Macro} btthreadall
-Short-hand for @code{btthreadlist all_list allelem}.
+Short-hand for @code{btthreadlist &all_list allelem}.
@end deffn
@deffn {GDB Macro} btpagefault
@end deffn
@deffn {GDB Macro} btpagefault
# print backtraces of all threads (based on 'all_list' all threads list)
define btthreadall
# print backtraces of all threads (based on 'all_list' all threads list)
define btthreadall
- btthreadlist all_list allelem
+ btthreadlist &all_list allelem
end
document btthreadall
Print backtraces of all threads
end
document btthreadall
Print backtraces of all threads