Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb Make this compile
details: https://anonhg.NetBSD.org/src/rev/1b1a7361cb58
branches: trunk
changeset: 348300:1b1a7361cb58
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Oct 14 14:12:48 2016 +0000
description:
Make this compile
diffstat:
external/gpl3/gdb/dist/gdb/hppanbsd-nat.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (41 lines):
diff -r 4a949f9cc75f -r 1b1a7361cb58 external/gpl3/gdb/dist/gdb/hppanbsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/hppanbsd-nat.c Fri Oct 14 11:33:08 2016 +0000
+++ b/external/gpl3/gdb/dist/gdb/hppanbsd-nat.c Fri Oct 14 14:12:48 2016 +0000
@@ -60,8 +60,7 @@
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 @@
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 @@
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 @@
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)
Home |
Main Index |
Thread Index |
Old Index