X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fppc-linux-tdep.c;h=7c75bb5693d810c1eca142e389a073fee2ff88ef;hb=27b1f19f8f5cc46faba4bb2142547df074a82a29;hp=784dafa59dbf31f79e409e4ec037560f107c1922;hpb=ae0d827fa483c4e569803d99f8dff14794c63a17;p=binutils-gdb.git diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index 784dafa59db..7c75bb5693d 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -2080,7 +2080,7 @@ ppc_linux_displaced_step_prepare (gdbarch *arch, thread_info *thread, { /* 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); }