projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: add inferior::{arch, set_arch}
[binutils-gdb.git]
/
gdb
/
ppc-linux-tdep.c
diff --git
a/gdb/ppc-linux-tdep.c
b/gdb/ppc-linux-tdep.c
index 784dafa59dbf31f79e409e4ec037560f107c1922..7c75bb5693d810c1eca142e389a073fee2ff88ef 100644
(file)
--- 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
{
/* 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);
}
per_inferior->disp_step_buf.emplace (disp_step_buf_addr);
}