From db178f47dd4c9d2882da42a8915018d1fb90ea17 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Sat, 14 Dec 2019 23:11:58 +0000 Subject: gdb/doc: Remove duplicate description of lookup_global_symbol 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(-) (limited to 'gdb/doc') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 7fe47f2..9b7f77e 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2019-12-14 Andrew Burgess + + * python.texi (Symbols In Python): Remove duplicate description of + gdb.lookup_global_symbol. + 2019-12-11 Simon Marchi * gdb.texinfo (Writing JIT Debug Info Readers): Fix typo. diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index f807fb2..5d762aa 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -4883,20 +4883,6 @@ search all object files in the order they appear in the debug 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 -- cgit v1.1