projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change tui_update_source_window to be a method
[external/binutils.git]
/
gdb
/
vax-bsd-nat.c
diff --git
a/gdb/vax-bsd-nat.c
b/gdb/vax-bsd-nat.c
index
10cd12e
..
910746a
100644
(file)
--- a/
gdb/vax-bsd-nat.c
+++ b/
gdb/vax-bsd-nat.c
@@
-1,6
+1,6
@@
/* Native-dependent code for modern VAX BSD's.
/* Native-dependent code for modern VAX BSD's.
- Copyright (C) 2004-201
8
Free Software Foundation, Inc.
+ Copyright (C) 2004-201
9
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-74,7
+74,7
@@
void
vax_bsd_nat_target::fetch_registers (struct regcache *regcache, int regnum)
{
struct reg regs;
vax_bsd_nat_target::fetch_registers (struct regcache *regcache, int regnum)
{
struct reg regs;
- pid_t pid =
ptid_get_pid (regcache->ptid ()
);
+ pid_t pid =
regcache->ptid ().pid (
);
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"));
@@
-89,7
+89,7
@@
void
vax_bsd_nat_target::store_registers (struct regcache *regcache, int regnum)
{
struct reg regs;
vax_bsd_nat_target::store_registers (struct regcache *regcache, int regnum)
{
struct reg regs;
- pid_t pid =
ptid_get_pid (regcache->ptid ()
);
+ pid_t pid =
regcache->ptid ().pid (
);
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"));