Module Name: src
Committed By: skrll
Date: Fri Oct 14 14:12:48 UTC 2016
Modified Files:
src/external/gpl3/gdb/dist/gdb: hppanbsd-nat.c
Log Message:
Make this compile
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/gdb/hppanbsd-nat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/hppanbsd-nat.c
diff -u src/external/gpl3/gdb/dist/gdb/hppanbsd-nat.c:1.8 src/external/gpl3/gdb/dist/gdb/hppanbsd-nat.c:1.9
--- src/external/gpl3/gdb/dist/gdb/hppanbsd-nat.c:1.8 Wed Oct 12 20:20:33 2016
+++ src/external/gpl3/gdb/dist/gdb/hppanbsd-nat.c Fri Oct 14 14:12:48 2016
@@ -60,8 +60,7 @@ hppanbsd_fpregset_supplies_p (int regnum
static void
hppanbsd_supply_gregset (struct regcache *regcache, const void *gregs)
{
- const char *regs = gregs;
- const int *r = gregs;
+ const char *regs = (const char *) gregs;
int regnum;
for (regnum = HPPA_R1_REGNUM; regnum <= HPPA_R31_REGNUM; regnum++)
@@ -85,7 +84,7 @@ hppanbsd_supply_gregset (struct regcache
static void
hppanbsd_supply_fpregset (struct regcache *regcache, const void *fpregs)
{
- const char *regs = fpregs;
+ const char *regs = (const char *) fpregs;
int regnum;
for (regnum = HPPA_FP0_REGNUM; regnum <= HPPA_FP31R_REGNUM;
@@ -103,8 +102,7 @@ static void
hppanbsd_collect_gregset (const struct regcache *regcache,
void *gregs, int regnum)
{
- char *regs = gregs;
- int *r = gregs;
+ char *regs = (char *) gregs;
int i;
for (i = HPPA_R1_REGNUM; i <= HPPA_R31_REGNUM; i++)
@@ -151,7 +149,7 @@ static void
hppanbsd_collect_fpregset (const struct regcache *regcache,
void *fpregs, int regnum)
{
- char *regs = fpregs;
+ char *regs = (char *) fpregs;
int i;
for (i = HPPA_FP0_REGNUM; i <= HPPA_FP31R_REGNUM; i += 2, regs += 8)