projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix gdb build with --enable-build-with-cxx --disable-nls
[deliverable/binutils-gdb.git]
/
gdb
/
shnbsd-nat.c
diff --git
a/gdb/shnbsd-nat.c
b/gdb/shnbsd-nat.c
index f66571a9dfecf87dd9cef260e1e5ba1ed6299862..b4fd55d991a5fa6774e27a2bdf657a50f19dd9d8 100644
(file)
--- a/
gdb/shnbsd-nat.c
+++ b/
gdb/shnbsd-nat.c
@@
-1,7
+1,6
@@
/* Native-dependent code for NetBSD/sh.
/* Native-dependent code for NetBSD/sh.
- Copyright (C) 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011
- Free Software Foundation, Inc.
+ Copyright (C) 2002-2016 Free Software Foundation, Inc.
Contributed by Wasabi Systems, Inc.
Contributed by Wasabi Systems, Inc.
@@
-50,7
+49,7
@@
shnbsd_fetch_inferior_registers (struct target_ops *ops,
{
struct reg inferior_registers;
{
struct reg inferior_registers;
- if (ptrace (PT_GETREGS,
PIDGET
(inferior_ptid),
+ if (ptrace (PT_GETREGS,
ptid_get_pid
(inferior_ptid),
(PTRACE_TYPE_ARG3) &inferior_registers, 0) == -1)
perror_with_name (_("Couldn't get registers"));
(PTRACE_TYPE_ARG3) &inferior_registers, 0) == -1)
perror_with_name (_("Couldn't get registers"));
@@
-71,7
+70,7
@@
shnbsd_store_inferior_registers (struct target_ops *ops,
{
struct reg inferior_registers;
{
struct reg inferior_registers;
- if (ptrace (PT_GETREGS,
PIDGET
(inferior_ptid),
+ if (ptrace (PT_GETREGS,
ptid_get_pid
(inferior_ptid),
(PTRACE_TYPE_ARG3) &inferior_registers, 0) == -1)
perror_with_name (_("Couldn't get registers"));
(PTRACE_TYPE_ARG3) &inferior_registers, 0) == -1)
perror_with_name (_("Couldn't get registers"));
@@
-79,7
+78,7
@@
shnbsd_store_inferior_registers (struct target_ops *ops,
(char *) &inferior_registers,
SHNBSD_SIZEOF_GREGS);
(char *) &inferior_registers,
SHNBSD_SIZEOF_GREGS);
- if (ptrace (PT_SETREGS,
PIDGET
(inferior_ptid),
+ if (ptrace (PT_SETREGS,
ptid_get_pid
(inferior_ptid),
(PTRACE_TYPE_ARG3) &inferior_registers, 0) == -1)
perror_with_name (_("Couldn't set registers"));
(PTRACE_TYPE_ARG3) &inferior_registers, 0) == -1)
perror_with_name (_("Couldn't set registers"));
This page took
0.024282 seconds
and
4
git commands to generate.