projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[deliverable/binutils-gdb.git]
/
gdb
/
sh-nbsd-nat.c
diff --git
a/gdb/sh-nbsd-nat.c
b/gdb/sh-nbsd-nat.c
index f776e1c07bbf9b9573bf5f5ccc518179ec31d596..1717ff93f553d4351a36278ef5b81f70da41ca0b 100644
(file)
--- a/
gdb/sh-nbsd-nat.c
+++ b/
gdb/sh-nbsd-nat.c
@@
-1,6
+1,6
@@
/* Native-dependent code for NetBSD/sh.
/* Native-dependent code for NetBSD/sh.
- Copyright (C) 2002-201
8
Free Software Foundation, Inc.
+ Copyright (C) 2002-201
9
Free Software Foundation, Inc.
Contributed by Wasabi Systems, Inc.
Contributed by Wasabi Systems, Inc.
@@
-51,7
+51,7
@@
static sh_nbsd_nat_target the_sh_nbsd_nat_target;
void
sh_nbsd_nat_target::fetch_registers (struct regcache *regcache, int regno)
{
void
sh_nbsd_nat_target::fetch_registers (struct regcache *regcache, int regno)
{
- pid_t pid =
ptid_get_pid (regcache_get_ptid (regcache)
);
+ pid_t pid =
regcache->ptid ().pid (
);
if (regno == -1 || GETREGS_SUPPLIES (regcache->arch (), regno))
{
if (regno == -1 || GETREGS_SUPPLIES (regcache->arch (), regno))
{
@@
-73,7
+73,7
@@
sh_nbsd_nat_target::fetch_registers (struct regcache *regcache, int regno)
void
sh_nbsd_nat_target::store_registers (struct regcache *regcache, int regno)
{
void
sh_nbsd_nat_target::store_registers (struct regcache *regcache, int regno)
{
- pid_t pid =
ptid_get_pid (regcache_get_ptid (regcache)
);
+ pid_t pid =
regcache->ptid ().pid (
);
if (regno == -1 || GETREGS_SUPPLIES (regcache->arch (), regno))
{
if (regno == -1 || GETREGS_SUPPLIES (regcache->arch (), regno))
{
@@
-99,5
+99,5
@@
sh_nbsd_nat_target::store_registers (struct regcache *regcache, int regno)
void
_initialize_shnbsd_nat (void)
{
void
_initialize_shnbsd_nat (void)
{
- add_target (&the_sh_nbsd_nat_target);
+ add_
inf_child_
target (&the_sh_nbsd_nat_target);
}
}
This page took
0.026301 seconds
and
4
git commands to generate.