From 86d318988ca62139acf6175c9a739e9848e14409 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 11 Jul 2011 17:19:16 +0000 Subject: [PATCH] * regcache.c (struct regcache_descr): Fix typo. * i387-tdep.c (i387_supply_xsave): Fix typo. --- gdb/ChangeLog | 5 +++++ gdb/i387-tdep.c | 2 +- gdb/regcache.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 70fd9d146b8..dffd058e641 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-07-11 Tom Tromey + + * regcache.c (struct regcache_descr): Fix typo. + * i387-tdep.c (i387_supply_xsave): Fix typo. + 2011-07-11 Tom Tromey * dwarf2read.c (handle_DW_AT_stmt_list): New function. diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c index 9eece418b2c..c4ace82f089 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 f603c331d1c..41f218d7f27 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. */ -- 2.30.2