X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fia64-linux-tdep.c;h=f1954911a714527cd31416f65a662550c31c3534;hb=228c8f4be0c428369ec6b68e25696863d1e62ed7;hp=b1662f2ea383660f7ae17b493d1a8f7b6cf2a61f;hpb=e2882c85786571175a0b0bfc3bcd2f14620b1ea3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ia64-linux-tdep.c b/gdb/ia64-linux-tdep.c index b1662f2ea3..f1954911a7 100644 --- a/gdb/ia64-linux-tdep.c +++ b/gdb/ia64-linux-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for the IA-64 for GDB, the GNU debugger. - Copyright (C) 2000-2018 Free Software Foundation, Inc. + Copyright (C) 2000-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -184,9 +184,9 @@ ia64_linux_supply_fpregset (const struct regset *regset, did the same. So ignore whatever might be recorded in fpregset_t for fr0/fr1 and always supply their expected values. */ if (regnum == -1 || regnum == IA64_FR0_REGNUM) - regcache_raw_supply (regcache, IA64_FR0_REGNUM, f_zero); + regcache->raw_supply (IA64_FR0_REGNUM, f_zero); if (regnum == -1 || regnum == IA64_FR1_REGNUM) - regcache_raw_supply (regcache, IA64_FR1_REGNUM, f_one); + regcache->raw_supply (IA64_FR1_REGNUM, f_one); } static const struct regset ia64_linux_gregset = @@ -207,8 +207,10 @@ ia64_linux_iterate_over_regset_sections (struct gdbarch *gdbarch, void *cb_data, const struct regcache *regcache) { - cb (".reg", IA64_LINUX_GREGS_SIZE, &ia64_linux_gregset, NULL, cb_data); - cb (".reg2", IA64_LINUX_FPREGS_SIZE, &ia64_linux_fpregset, NULL, cb_data); + cb (".reg", IA64_LINUX_GREGS_SIZE, IA64_LINUX_GREGS_SIZE, &ia64_linux_gregset, + NULL, cb_data); + cb (".reg2", IA64_LINUX_FPREGS_SIZE, IA64_LINUX_FPREGS_SIZE, + &ia64_linux_fpregset, NULL, cb_data); } static void