projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove regcache_get_ptid
[deliverable/binutils-gdb.git]
/
gdb
/
ppc-fbsd-nat.c
diff --git
a/gdb/ppc-fbsd-nat.c
b/gdb/ppc-fbsd-nat.c
index 6ca4bbac39324ed8fb5c346f19934d3b3618a5ab..89a7e6eb5c23c9919629c301263e7b77167e4cac 100644
(file)
--- a/
gdb/ppc-fbsd-nat.c
+++ b/
gdb/ppc-fbsd-nat.c
@@
-127,7
+127,7
@@
void
ppc_fbsd_nat_target::fetch_registers (struct regcache *regcache, int regno)
{
gdb_gregset_t regs;
ppc_fbsd_nat_target::fetch_registers (struct regcache *regcache, int regno)
{
gdb_gregset_t regs;
- pid_t pid = ptid_get_lwp (regcache
_get_ptid (regcache
));
+ pid_t pid = ptid_get_lwp (regcache
->ptid (
));
if (ptrace (PT_GETREGS, pid, (PTRACE_TYPE_ARG3) ®s, 0) == -1)
perror_with_name (_("Couldn't get registers"));
if (ptrace (PT_GETREGS, pid, (PTRACE_TYPE_ARG3) ®s, 0) == -1)
perror_with_name (_("Couldn't get registers"));
@@
-153,7
+153,7
@@
void
ppc_fbsd_nat_target::store_registers (struct regcache *regcache, int regno)
{
gdb_gregset_t regs;
ppc_fbsd_nat_target::store_registers (struct regcache *regcache, int regno)
{
gdb_gregset_t regs;
- pid_t pid = ptid_get_lwp (regcache
_get_ptid (regcache
));
+ pid_t pid = ptid_get_lwp (regcache
->ptid (
));
if (ptrace (PT_GETREGS, pid, (PTRACE_TYPE_ARG3) ®s, 0) == -1)
perror_with_name (_("Couldn't get registers"));
if (ptrace (PT_GETREGS, pid, (PTRACE_TYPE_ARG3) ®s, 0) == -1)
perror_with_name (_("Couldn't get registers"));
This page took
0.086658 seconds
and
4
git commands to generate.