aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-linux-nat.c
diff options
context:
space:
mode:
authorMichal Ludvig <mludvig@suse.cz>2003-02-11 23:09:59 +0000
committerMichal Ludvig <mludvig@suse.cz>2003-02-11 23:09:59 +0000
commit48037eadc751a8fd737c919333c8f4a630f544b3 (patch)
treec0128ae25f77e9ba1c385d73fd5c1e6b3f232348 /gdb/x86-64-linux-nat.c
parent44aa9df0535d8121d0d7fe74f650bea9ace0161a (diff)
downloadgdb-48037eadc751a8fd737c919333c8f4a630f544b3.zip
gdb-48037eadc751a8fd737c919333c8f4a630f544b3.tar.gz
gdb-48037eadc751a8fd737c919333c8f4a630f544b3.tar.bz2
2003-02-12 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_extract_return_value) (x86_64_store_return_value): Use regcache instead of regbuf. (x86_64_gdbarch_init): Change related set_gdbarch_* functions. * x86-64-linux-nat.c (fill_gregset): Use regcache.
Diffstat (limited to 'gdb/x86-64-linux-nat.c')
-rw-r--r--gdb/x86-64-linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/x86-64-linux-nat.c b/gdb/x86-64-linux-nat.c
index 8676176..044236c 100644
--- a/gdb/x86-64-linux-nat.c
+++ b/gdb/x86-64-linux-nat.c
@@ -158,7 +158,7 @@ fill_gregset (elf_gregset_t * gregsetp, int regno)
for (i = 0; i < x86_64_num_gregs; i++)
if ((regno == -1 || regno == i))
- deprecated_read_register_gen (i, (char *) (regp + x86_64_regmap[i]));
+ regcache_collect (i, (char *) (regp + x86_64_regmap[i]));
}
/* Fetch all general-purpose registers from process/thread TID and