{
/* Figure out where the displaced step buffer is. */
CORE_ADDR disp_step_buf_addr
- = linux_displaced_step_location (thread->inf->gdbarch);
+ = linux_displaced_step_location (thread->inf->arch ());
per_inferior->disp_step_buf.emplace (disp_step_buf_addr);
}