[gdb/procfs.c] Fix build failure in find_stop_signal
authorLibor Bukata <libor.bukata@oracle.com>
Wed, 14 Jul 2021 13:19:51 +0000 (13:19 +0000)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 15 Jul 2021 00:47:51 +0000 (20:47 -0400)
commite22be21285391a557dafa4d9e6ff01288eca216a
treead6193cbb0201e8d7c7295ea9c9b3e41ff14737d
parent600ac5b46138befa91a8c632ffb6c4ee34971ca4
[gdb/procfs.c] Fix build failure in find_stop_signal

It fixes a regression caused by commit
1edb66d856c82c389edfd7610143236a68c76846 where thread_info::suspend was
made private.

The public thread_info API has to be used to get stop signal and avoid
build failures.

gdb/ChangeLog:

2021-07-14  Libor Bukata <libor.bukata@oracle.com>

  * gdb/procfs.c (find_stop_signal): Use thread_info API.

Change-Id: I53bc57a05cd0eca5f28ef0726d6faeeb306e7904
gdb/procfs.c