From patchwork Thu Jan 17 17:21:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 31104 Received: (qmail 29487 invoked by alias); 17 Jan 2019 17:21:40 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 29463 invoked by uid 89); 17 Jan 2019 17:21:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=resize, aarch64tdepc, aarch64-tdep.c, UD:aarch64-tdep.c X-HELO: gateway21.websitewelcome.com Received: from gateway21.websitewelcome.com (HELO gateway21.websitewelcome.com) (192.185.45.228) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 17 Jan 2019 17:21:32 +0000 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway21.websitewelcome.com (Postfix) with ESMTP id 6498F400C36C9 for ; Thu, 17 Jan 2019 11:21:31 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id kBMBgbgLuiQerkBMBgwFJq; Thu, 17 Jan 2019 11:21:31 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=p+4KmIoIgPooN57pC7xskGsW/EbLO7lwAlHxx0wNeeg=; b=LttyXAQiBPdIatuW7cct9DtYTe eN0ivlGJ2L6bl4emyaL+JBVJbdOj0/+XbvletbA33ANDDAdP8U04r/bhYepbmu4g+zLq2diDj8AJo DG45FJOiS1E7Q9csNDV3xqeyG; Received: from 75-166-72-210.hlrn.qwest.net ([75.166.72.210]:43490 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gkBMB-003Tfd-2e; Thu, 17 Jan 2019 11:21:31 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [FYI] Replace "the the" with "the" Date: Thu, 17 Jan 2019 10:21:29 -0700 Message-Id: <20190117172129.23184-1-tom@tromey.com> This replaces "the the" with "the" in various comments. Tested by rebuilding. This didn't test the solib-dsbt.c change, but it looks harmless. gdb/ChangeLog 2019-01-17 Tom Tromey * valprint.c: Replace "the the" with "the". * symtab.c: Replace "the the" with "the". * solib.c: Replace "the the" with "the". * solib-dsbt.c: Replace "the the" with "the". * linespec.c: Replace "the the" with "the". * dwarf2loc.h: Replace "the the" with "the". * amd64-windows-tdep.c: Replace "the the" with "the". * aarch64-tdep.c: Replace "the the" with "the". --- gdb/ChangeLog | 11 +++++++++++ gdb/aarch64-tdep.c | 2 +- gdb/amd64-windows-tdep.c | 2 +- gdb/dwarf2loc.h | 2 +- gdb/linespec.c | 2 +- gdb/mi/mi-interp.c | 2 +- gdb/nat/aarch64-sve-linux-sigcontext.h | 2 +- gdb/solib-dsbt.c | 2 +- gdb/solib.c | 2 +- gdb/symtab.c | 2 +- gdb/valprint.c | 2 +- 11 files changed, 21 insertions(+), 10 deletions(-) diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index 6c1b0ebeb8..b051563937 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -1932,7 +1932,7 @@ aarch64_extract_return_value (struct type *type, struct regcache *regs, || TYPE_IS_REFERENCE (type) || TYPE_CODE (type) == TYPE_CODE_ENUM) { - /* If the the type is a plain integer, then the access is + /* If the type is a plain integer, then the access is straight-forward. Otherwise we have to play around a bit more. */ int len = TYPE_LENGTH (type); diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c index a28b15f3a5..47feab98b0 100644 --- a/gdb/amd64-windows-tdep.c +++ b/gdb/amd64-windows-tdep.c @@ -419,7 +419,7 @@ static const enum amd64_regnum amd64_windows_w2gdb_regnum[] = AMD64_R15_REGNUM }; -/* Return TRUE iff PC is the the range of the function corresponding to +/* Return TRUE iff PC is the range of the function corresponding to CACHE. */ static int diff --git a/gdb/dwarf2loc.h b/gdb/dwarf2loc.h index 17c3bb424f..955e6f1b48 100644 --- a/gdb/dwarf2loc.h +++ b/gdb/dwarf2loc.h @@ -222,7 +222,7 @@ struct dwarf2_offset_baton LONGEST offset; /* The type of the object whose property is dynamic. In the example - provided above, this would the the array's index type. */ + provided above, this would the array's index type. */ struct type *type; }; diff --git a/gdb/linespec.c b/gdb/linespec.c index 964697b7bc..71346078d7 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1445,7 +1445,7 @@ convert_results_to_lsals (struct linespec_state *self, /* A structure that contains two string representations of a struct linespec_canonical_name: - - one where the the symtab's fullname is used; + - one where the symtab's fullname is used; - one where the filename followed the "set filename-display" setting. */ diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index d4baa48521..e45ddfe31a 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -526,7 +526,7 @@ find_mi_interp (void) } /* Observers for several run control events that print why the - inferior has stopped to both the the MI event channel and to the MI + inferior has stopped to both the MI event channel and to the MI console. If the MI interpreter is not active, print nothing. */ /* Observer for the signal_received notification. */ diff --git a/gdb/nat/aarch64-sve-linux-sigcontext.h b/gdb/nat/aarch64-sve-linux-sigcontext.h index ef7379d95a..b2aa23298d 100644 --- a/gdb/nat/aarch64-sve-linux-sigcontext.h +++ b/gdb/nat/aarch64-sve-linux-sigcontext.h @@ -64,7 +64,7 @@ struct sve_context { * The same convention applies when returning from a signal: a caller * will need to remove or resize the sve_context block if it wants to * make the SVE registers live when they were previously non-live or - * vice-versa. This may require the the caller to allocate fresh + * vice-versa. This may require the caller to allocate fresh * memory and/or move other context blocks in the signal frame. * * Changing the vector length during signal return is not permitted: diff --git a/gdb/solib-dsbt.c b/gdb/solib-dsbt.c index 5a16183501..20310144f3 100644 --- a/gdb/solib-dsbt.c +++ b/gdb/solib-dsbt.c @@ -650,7 +650,7 @@ dsbt_current_sos (void) /* Locate the address of the first link map struct. */ lm_addr = lm_base (); - /* We have at least one link map entry. Fetch the the lot of them, + /* We have at least one link map entry. Fetch the lot of them, building the solist chain. */ while (lm_addr) { diff --git a/gdb/solib.c b/gdb/solib.c index 24f40d1124..30eac1d3f5 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -233,7 +233,7 @@ solib_find_1 (const char *in_pathname, int *fd, int is_solib) | target:some/dir | | /foo/bar.dll | IOW, we don't need to add a separator if IN_PATHNAME already - has one, or when the the sysroot is exactly "target:". + has one, or when the sysroot is exactly "target:". There's no need to check for drive spec explicitly, as we only get here if IN_PATHNAME is considered an absolute path. */ need_dir_separator = !(IS_DIR_SEPARATOR (in_pathname[0]) diff --git a/gdb/symtab.c b/gdb/symtab.c index 29b24328fb..b6751bec6b 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2301,7 +2301,7 @@ lookup_symbol_in_objfile_symtabs (struct objfile *objfile, int block_index, Normally we only look in OBJFILE, and not any separate debug objfiles because the outer loop will cause them to be searched too. This case is different. Here we're called from search_symbols where it will only - call us for the the objfile that contains a matching minsym. */ + call us for the objfile that contains a matching minsym. */ static struct block_symbol lookup_symbol_in_objfile_from_linkage_name (struct objfile *objfile, diff --git a/gdb/valprint.c b/gdb/valprint.c index 72a40dcc32..a079c0025a 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -2513,7 +2513,7 @@ count_next_character (wchar_iterator *iter, /* Print the characters in CHARS to the OBSTACK. QUOTE_CHAR is the quote character to use with string output. WIDTH is the size of the output - character type. BYTE_ORDER is the the target byte order. OPTIONS + character type. BYTE_ORDER is the target byte order. OPTIONS is the user's print options. */ static void