projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't share per-BFD data if relocations are needed
[deliverable/binutils-gdb.git]
/
gdb
/
m32r-linux-nat.c
diff --git
a/gdb/m32r-linux-nat.c
b/gdb/m32r-linux-nat.c
index 4c68284aee02e5a7553cfb3912bf291b01c3266d..70bd5283d0e2c1b964639c5b2b4c2deee908de4f 100644
(file)
--- a/
gdb/m32r-linux-nat.c
+++ b/
gdb/m32r-linux-nat.c
@@
-1,7
+1,6
@@
/* Native-dependent code for GNU/Linux m32r.
/* Native-dependent code for GNU/Linux m32r.
- Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
- Free Software Foundation, Inc.
+ Copyright (C) 2004-2013 Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-56,8
+55,9
@@
static int regmap[] = {
#define SPU_REGMAP 23
#define SPI_REGMAP 26
#define SPU_REGMAP 23
#define SPI_REGMAP 26
-/* Doee apply to the corresponding SET requests as well. */
-#define GETREGS_SUPPLIES(regno) (0 <= (regno) && (regno) <= M32R_LINUX_NUM_REGS)
+/* Doee (??) apply to the corresponding SET requests as well. */
+#define GETREGS_SUPPLIES(regno) (0 <= (regno) \
+ && (regno) <= M32R_LINUX_NUM_REGS)
\f
\f
@@
-200,9
+200,9
@@
m32r_linux_fetch_inferior_registers (struct target_ops *ops,
int tid;
/* GNU/Linux LWP ID's are process ID's. */
int tid;
/* GNU/Linux LWP ID's are process ID's. */
- tid =
TIDGET
(inferior_ptid);
+ tid =
ptid_get_lwp
(inferior_ptid);
if (tid == 0)
if (tid == 0)
- tid =
PIDGET (inferior_ptid);
/* Not a threaded program. */
+ tid =
ptid_get_pid (inferior_ptid);
/* Not a threaded program. */
/* Use the PTRACE_GETREGS request whenever possible, since it
transfers more registers in one system call, and we'll cache the
/* Use the PTRACE_GETREGS request whenever possible, since it
transfers more registers in one system call, and we'll cache the
@@
-227,8
+227,8
@@
m32r_linux_store_inferior_registers (struct target_ops *ops,
int tid;
/* GNU/Linux LWP ID's are process ID's. */
int tid;
/* GNU/Linux LWP ID's are process ID's. */
- if ((tid =
TIDGET
(inferior_ptid)) == 0)
- tid =
PIDGET (inferior_ptid);
/* Not a threaded program. */
+ if ((tid =
ptid_get_lwp
(inferior_ptid)) == 0)
+ tid =
ptid_get_pid (inferior_ptid);
/* Not a threaded program. */
/* Use the PTRACE_SETREGS request whenever possible, since it
transfers more registers in one system call. */
/* Use the PTRACE_SETREGS request whenever possible, since it
transfers more registers in one system call. */
This page took
0.024356 seconds
and
4
git commands to generate.