aboutsummaryrefslogtreecommitdiff
path: root/gdb/tilegx-linux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tilegx-linux-nat.c')
-rw-r--r--gdb/tilegx-linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tilegx-linux-nat.c b/gdb/tilegx-linux-nat.c
index 1ff6485..6fa7fb6 100644
--- a/gdb/tilegx-linux-nat.c
+++ b/gdb/tilegx-linux-nat.c
@@ -103,7 +103,7 @@ fill_gregset (const struct regcache* regcache,
for (i = 0; i < sizeof (regmap) / sizeof (regmap[0]); i++)
if (regmap[i] >= 0)
- regcache_raw_collect (regcache, i, regp + regmap[i]);
+ regcache->raw_collect (i, regp + regmap[i]);
}
/* Transfering floating-point registers between GDB, inferiors and cores. */