From patchwork Sat Dec 14 23:22:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Burgess X-Patchwork-Id: 36876 Received: (qmail 56372 invoked by alias); 14 Dec 2019 23:22:36 -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 56363 invoked by uid 89); 14 Dec 2019 23:22:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=H*MI:andrew, Python X-HELO: mail-wr1-f47.google.com Received: from mail-wr1-f47.google.com (HELO mail-wr1-f47.google.com) (209.85.221.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 14 Dec 2019 23:22:35 +0000 Received: by mail-wr1-f47.google.com with SMTP id j42so2795880wrj.12 for ; Sat, 14 Dec 2019 15:22:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=from:to:cc:subject:date:message-id; bh=XBaNhf6G8y5c9HjUWAe83C/pRybkau3Qe/KMVW+StHE=; b=DJ+TYq178u4RZGnPXIGsgAXHbDaQi7XIMY9kgKxO7KcXVLPzuL/vAGk+UWhUHF3hDh FCJbHmUAi5e9pUmAEZlq50GwzOEbxQmA+Z3w/5rXmkry510o1gFwWvN63bTrhqlisESu 2fSSdsjVwWsN2GTUYruNFPyomer7dwwFojQw4h9xo9NeZB1NiEAstT3/yk6dy5hRAhp6 Y63ldY+9AIBEIbILsZgmjABJY5SPwA/F418gfc/Ie4p5ehGD20wuMug/3qwvdx78G7w7 wyeA4nGo1/SCf0/nWPn63UTsRkC5bekXZhRVyyIaWnxthA/8gAbX0HR3c213po8aqTQD hXFA== Return-Path: Received: from localhost (host86-186-80-236.range86-186.btcentralplus.com. [86.186.80.236]) by smtp.gmail.com with ESMTPSA id n67sm16136084wmb.8.2019.12.14.15.22.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 Dec 2019 15:22:32 -0800 (PST) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PUSHED] gdb/doc: Remove duplicate description of lookup_global_symbol Date: Sat, 14 Dec 2019 23:22:29 +0000 Message-Id: <20191214232229.24801-1-andrew.burgess@embecosm.com> X-IsSubscribed: yes In this commit: commit 086baaf1346f07acfb6708e8c6cb79274241488b Date: Tue Oct 15 16:18:26 2019 +0100 gdb/python: Introduce gdb.lookup_static_symbols A duplicate description of gdb.lookup_global_symbol was accidentally added. This commit corrects this mistake and removes the duplicate. gdb/doc/ChangeLog: * python.texi (Symbols In Python): Remove duplicate description of gdb.lookup_global_symbol. Change-Id: I4457b42cf05bde39e5c0ff39f168af919cad1255 --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/python.texi | 14 -------------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index f807fb248ae..5d762aa612a 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -4883,20 +4883,6 @@ information. @end defun -@findex gdb.lookup_global_symbol -@defun gdb.lookup_global_symbol (name @r{[}, domain@r{]}) -This function searches for a global symbol by name. -The search scope can be restricted to by the domain argument. - -@var{name} is the name of the symbol. It must be a string. -The optional @var{domain} argument restricts the search to the domain type. -The @var{domain} argument must be a domain constant defined in the @code{gdb} -module and described later in this chapter. - -The result is a @code{gdb.Symbol} object or @code{None} if the symbol -is not found. -@end defun - @findex gdb.lookup_static_symbols @defun gdb.lookup_static_symbols (name @r{[}, domain@r{]}) Similar to @code{gdb.lookup_static_symbol}, this function searches for