aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/i387-tdep.c2
-rw-r--r--gdb/regcache.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 70fd9d1..dffd058 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2011-07-11 Tom Tromey <tromey@redhat.com>
+ * regcache.c (struct regcache_descr): Fix typo.
+ * i387-tdep.c (i387_supply_xsave): Fix typo.
+
+2011-07-11 Tom Tromey <tromey@redhat.com>
+
* dwarf2read.c (handle_DW_AT_stmt_list): New function.
(read_file_scope, read_type_unit_scope): Use it.
diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c
index 9eece41..c4ace82 100644
--- a/gdb/i387-tdep.c
+++ b/gdb/i387-tdep.c
@@ -795,7 +795,7 @@ i387_supply_xsave (struct regcache *regcache, int regnum,
return;
case all:
- /* Hanle the upper YMM registers. */
+ /* Handle the upper YMM registers. */
if ((tdep->xcr0 & I386_XSTATE_AVX))
{
if ((clear_bv & I386_XSTATE_AVX))
diff --git a/gdb/regcache.c b/gdb/regcache.c
index f603c33..41f218d 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -67,7 +67,7 @@ struct regcache_descr
long sizeof_cooked_registers;
long sizeof_cooked_register_status;
- /* Offset and size (in 8 bit bytes), of reach register in the
+ /* Offset and size (in 8 bit bytes), of each register in the
register cache. All registers (including those in the range
[NR_RAW_REGISTERS .. NR_COOKED_REGISTERS) are given an
offset. */