From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15487 invoked by alias); 3 May 2008 23:26:37 -0000 Received: (qmail 15477 invoked by uid 22791); 3 May 2008 23:26:36 -0000 X-Spam-Check-By: sourceware.org Received: from igw2.br.ibm.com (HELO igw2.br.ibm.com) (32.104.18.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 03 May 2008 23:26:13 +0000 Received: from mailhub1.br.ibm.com (mailhub1 [9.18.232.109]) by igw2.br.ibm.com (Postfix) with ESMTP id 5F38C17F471 for ; Sat, 3 May 2008 20:16:01 -0300 (BRST) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub1.br.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m43NQBqi4194374 for ; Sat, 3 May 2008 20:26:11 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m43NQA52031267 for ; Sat, 3 May 2008 20:26:10 -0300 Received: from [9.8.2.61] ([9.8.2.61]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m43NQ9db031262 for ; Sat, 3 May 2008 20:26:09 -0300 Subject: [commit/obvious] fix typos in comments ... From: Thiago Jung Bauermann To: GDB Patches Content-Type: text/plain Date: Sat, 03 May 2008 23:38:00 -0000 Message-Id: <1209856943.7034.103.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00149.txt.bz2 ... and one indentation fix. -- []'s Thiago Jung Bauermann Software Engineer IBM Linux Technology Center 2008-05-03 Luis Machado Thiago Jung Bauermann * cli/cli-decode.c (lookup_cmd_1): Fix indentation. * doublest.c (convert_typed_floating): Fix typo in comment. * dwarf2-frame.c (dwarf2_frame_cache): Likewise. * frame-unwind.h (frame_sniffer_ftype): Likewise. * frame.c (frame_unwind_address_in_block): Likewise. * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Likewise. * symtab.h (struct symbol): Likewise. * tramp-frame.h (struct trad_frame_cache): Likewise. * value.c (allocate_repeat_value): Likewise. diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 4e68f93..965b193 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -1160,7 +1160,7 @@ lookup_cmd_1 (char **text, struct cmd_list_element *clist, flags */ if (found->flags & DEPRECATED_WARN_USER) - deprecated_cmd_warning (&line); + deprecated_cmd_warning (&line); found = found->cmd_pointer; } /* If we found a prefix command, keep looking. */ diff --git a/gdb/doublest.c b/gdb/doublest.c index 2edb57f..4af3446 100644 --- a/gdb/doublest.c +++ b/gdb/doublest.c @@ -940,7 +940,7 @@ convert_typed_floating (const void *from, const struct type *from_type, else { /* The floating-point types don't match. The best we can do - (aport from simulating the target FPU) is converting to the + (apart from simulating the target FPU) is converting to the widest floating-point type supported by the host, and then again to the desired type. */ DOUBLEST d; diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c index b90f976..3385bdb 100644 --- a/gdb/dwarf2-frame.c +++ b/gdb/dwarf2-frame.c @@ -929,7 +929,7 @@ dwarf2_frame_cache (struct frame_info *this_frame, void **this_cache) /* Then decode the insns in the FDE up to our target PC. */ execute_cfa_program (fde, fde->instructions, fde->end, this_frame, fs); - /* Caclulate the CFA. */ + /* Calculate the CFA. */ switch (fs->cfa_how) { case CFA_REG_OFFSET: diff --git a/gdb/frame-unwind.h b/gdb/frame-unwind.h index 9ffafff..8b54fb6 100644 --- a/gdb/frame-unwind.h +++ b/gdb/frame-unwind.h @@ -32,8 +32,8 @@ struct value; /* The following unwind functions assume a chain of frames forming the sequence: (outer) prev <-> this <-> next (inner). All the - functions are called with called with the next frame's `struct - frame_info' and and this frame's prologue cache. + functions are called with the next frame's `struct frame_info' + and this frame's prologue cache. THIS frame's register values can be obtained by unwinding NEXT frame's registers (a recursive operation). diff --git a/gdb/frame.c b/gdb/frame.c index f59cbeb..3658b0a 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -1535,7 +1535,7 @@ frame_unwind_address_in_block (struct frame_info *next_frame, /* If THIS frame is not inner most (i.e., NEXT isn't the sentinel), and NEXT is `normal' (i.e., not a sigtramp, dummy, ....) THIS - frame's PC ends up pointing at the instruction fallowing the + frame's PC ends up pointing at the instruction following the "call". Adjust that PC value so that it falls on the call instruction (which, hopefully, falls within THIS frame's code block). So far it's proved to be a very good approximation. See diff --git a/gdb/ppc-sysv-tdep.c b/gdb/ppc-sysv-tdep.c index 71b8933..669165f 100644 --- a/gdb/ppc-sysv-tdep.c +++ b/gdb/ppc-sysv-tdep.c @@ -939,7 +939,7 @@ ppc64_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, struct value *function, { /* During the first pass, GPARAM and VPARAM are more like offsets (start address zero) than addresses. That way - the accumulate the total stack space each region + they accumulate the total stack space each region requires. */ gparam = 0; vparam = 0; diff --git a/gdb/symtab.h b/gdb/symtab.h index 8aa3fc5..8482945 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -635,7 +635,7 @@ struct symbol const struct symbol_ops *ops; /* Some symbols require additional information to be recorded on a - per- symbol basis. Stash those values here. */ + per-symbol basis. Stash those values here. */ union { @@ -644,7 +644,7 @@ struct symbol /* An arbitrary data pointer. Note that this data must be allocated using the same obstack as the symbol itself. */ /* So far it is only used by LOC_COMPUTED and LOC_COMPUTED_ARG to - find the location location information. For a LOC_BLOCK symbol + find the location information. For a LOC_BLOCK symbol for a function in a compilation unit compiled with DWARF 2 information, this is information used internally by the DWARF 2 code --- specifically, the location expression for the frame diff --git a/gdb/tramp-frame.h b/gdb/tramp-frame.h index 3f73e85..54d5261 100644 --- a/gdb/tramp-frame.h +++ b/gdb/tramp-frame.h @@ -34,7 +34,7 @@ struct trad_frame_cache; The only way to identify a trampoline is to perform a brute force examination of the instructions at and around the PC. - This module provides a convent interface for performing that + This module provides a convenient interface for performing that operation. */ /* A trampoline descriptor. */ diff --git a/gdb/value.c b/gdb/value.c index d11f953..e5a9a62 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -240,7 +240,7 @@ allocate_value (struct type *type) } /* Allocate a value that has the correct length - for COUNT repetitions type TYPE. */ + for COUNT repetitions of type TYPE. */ struct value * allocate_repeat_value (struct type *type, int count)