diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-05-04 10:18:10 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-05-04 10:18:10 +0000 |
commit | 14b08c1bf1e79d3e05432a3e123c35857222fb90 (patch) | |
tree | abc6ab4ba8fe1c7be6e23325c00b3002ed2eb984 /gdb | |
parent | 1f88a2f93a29a25ed4439aae21899f24db46aad4 (diff) | |
download | gdb-14b08c1bf1e79d3e05432a3e123c35857222fb90.zip gdb-14b08c1bf1e79d3e05432a3e123c35857222fb90.tar.gz gdb-14b08c1bf1e79d3e05432a3e123c35857222fb90.tar.bz2 |
* i386-linux-nat.c (supply_gregset): Remove unnecessary casts.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/i386-linux-nat.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 069573a..53e9de8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-05-04 Mark Kettenis <kettenis@gnu.org> + + * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. + 2003-05-03 J. Brobecker <brobecker@gnat.com> From Thierry Schneider <tpschneider1@yahoo.com> diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index 3744124..cf769d8 100644 --- a/gdb/i386-linux-nat.c +++ b/gdb/i386-linux-nat.c @@ -72,7 +72,6 @@ /* Prototypes for local functions. */ static void dummy_sse_values (void); - /* The register sets used in GNU/Linux ELF core-dumps are identical to @@ -233,10 +232,10 @@ supply_gregset (elf_gregset_t *gregsetp) int i; for (i = 0; i < I386_NUM_GREGS; i++) - supply_register (i, (char *) (regp + regmap[i])); + supply_register (i, regp + regmap[i]); if (I386_LINUX_ORIG_EAX_REGNUM < NUM_REGS) - supply_register (I386_LINUX_ORIG_EAX_REGNUM, (char *) (regp + ORIG_EAX)); + supply_register (I386_LINUX_ORIG_EAX_REGNUM, regp + ORIG_EAX); } /* Fill register REGNO (if it is a general-purpose register) in |