]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/infrun.c
gdb: add some additional thread status debug output
authorAndrew Burgess <aburgess@redhat.com>
Thu, 21 Apr 2022 14:09:17 +0000 (15:09 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 3 May 2022 13:46:14 +0000 (14:46 +0100)
commit1f9d9e321ca0416d970a8a4ae94df69de0e22d14
tree97f083809e104306876d399ee7c46f40117fb6d3
parentba951afb99912da01a6e8434126b8fac7aa75107
gdb: add some additional thread status debug output

While working on this patch:

  https://sourceware.org/pipermail/gdb-patches/2022-January/185109.html

I found it really useful to print the executing/resumed status of all
threads (or all threads in a particular inferior) at various
places (e.g. when a new inferior is started, when GDB attaches, etc).

This debug was originally part of the above patch, but I wanted to
rewrite this as a separate patch and move the code into a new function
in infrun.h, which is what this patch does.

Unless 'set debug infrun on' is in effect, then there should be no
user visible changes after this commit.
gdb/infcmd.c
gdb/infrun.c
gdb/infrun.h