gdb: get rid of get_displaced_stepping_state
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 4 Dec 2020 21:43:53 +0000 (16:43 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 4 Dec 2020 21:43:53 +0000 (16:43 -0500)
commitf5f01699643e923edf7d0c661e330ceff609fac5
tree0f4ec211afc96fca1625c42ccdb532bcab50626a
parentc0aba012edb6068e2433cbac855715a349a8555f
gdb: get rid of get_displaced_stepping_state

Remove function get_displaced_stepping_state.  When it was introduced,
inferiors' displaced stepping state was kept in a linked list in
infrun.c, so it was handy.  Nowadays, the state is kept inside struct
inferior directly, so we can just access it directly instead.

gdb/ChangeLog:

* infrun.c (get_displaced_stepping_state): Remove, change
callers to access the field directly.

Change-Id: I9a733e32e29c7ebf856ab0befe1076bbb8c7af69
gdb/ChangeLog
gdb/infrun.c