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 write to inferior_ptid in target.c
[deliverable/binutils-gdb.git]
/
gdb
/
m32r-linux-nat.c
diff --git
a/gdb/m32r-linux-nat.c
b/gdb/m32r-linux-nat.c
index 3c723575df45e294f9d43f58d49e19beb8d8724f..24beeca3b75cacc2d292aa8b1491cedd34f31f15 100644
(file)
--- a/
gdb/m32r-linux-nat.c
+++ b/
gdb/m32r-linux-nat.c
@@
-1,6
+1,6
@@
/* Native-dependent code for GNU/Linux m32r.
/* Native-dependent code for GNU/Linux m32r.
- Copyright (C) 2004-20
18
Free Software Foundation, Inc.
+ Copyright (C) 2004-20
20
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-150,11
+150,11
@@
fill_gregset (const struct regcache *regcache,
continue;
if (i != M32R_SP_REGNUM)
continue;
if (i != M32R_SP_REGNUM)
- regcache
_raw_collect (regcache,
i, regp + regmap[i]);
+ regcache
->raw_collect (
i, regp + regmap[i]);
else if (psw & 0x8000)
else if (psw & 0x8000)
- regcache
_raw_collect (regcache,
i, regp + SPU_REGMAP);
+ regcache
->raw_collect (
i, regp + SPU_REGMAP);
else
else
- regcache
_raw_collect (regcache,
i, regp + SPI_REGMAP);
+ regcache
->raw_collect (
i, regp + SPI_REGMAP);
}
}
}
}
@@
-237,8
+237,9
@@
m32r_linux_nat_target::store_registers (struct regcache *regcache, int regno)
_("Got request to store bad register number %d."), regno);
}
_("Got request to store bad register number %d."), regno);
}
+void _initialize_m32r_linux_nat ();
void
void
-_initialize_m32r_linux_nat (
void
)
+_initialize_m32r_linux_nat ()
{
/* Register the target. */
linux_target = &the_m32r_linux_nat_target;
{
/* Register the target. */
linux_target = &the_m32r_linux_nat_target;
This page took
0.025734 seconds
and
4
git commands to generate.