diff options
author | Michal Ludvig <mludvig@suse.cz> | 2002-04-29 18:27:31 +0000 |
---|---|---|
committer | Michal Ludvig <mludvig@suse.cz> | 2002-04-29 18:27:31 +0000 |
commit | 91fd20f71fdcc50e2c3ef1d15d556e93b59881ff (patch) | |
tree | 9d3624211dbb7624abfaaaebe30784e9b680d5a6 /gdb/x86-64-linux-nat.c | |
parent | d1b0a5b4a999c7142824e35606ce4a44adf0ccdc (diff) | |
download | gdb-91fd20f71fdcc50e2c3ef1d15d556e93b59881ff.zip gdb-91fd20f71fdcc50e2c3ef1d15d556e93b59881ff.tar.gz gdb-91fd20f71fdcc50e2c3ef1d15d556e93b59881ff.tar.bz2 |
2002-04-29 Michal Ludvig <mludvig@suse.cz>
* x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning.
* x86-64-tdep.c (i386_gdbarch_init): Ditto.
(x86_64_register_info_table): Added comments with register numbers.
Diffstat (limited to 'gdb/x86-64-linux-nat.c')
-rw-r--r-- | gdb/x86-64-linux-nat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/x86-64-linux-nat.c b/gdb/x86-64-linux-nat.c index fd70572..fd9246c 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)) - read_register_gen (i, regp + x86_64_regmap[i]); + read_register_gen (i, (char *) (regp + x86_64_regmap[i])); } /* Fetch all general-purpose registers from process/thread TID and @@ -446,4 +446,3 @@ kernel_u_size (void) { return (sizeof (struct user)); } - |