gdb/doc: Remove duplicate description of lookup_global_symbol

In this commit:

  commit 086baaf134
  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
This commit is contained in:
Andrew Burgess 2019-12-14 23:11:58 +00:00
parent 17a03c954d
commit b547b1310d
2 changed files with 5 additions and 14 deletions

View File

@ -1,3 +1,8 @@
2019-12-14 Andrew Burgess <andrew.burgess@embecosm.com>
* python.texi (Symbols In Python): Remove duplicate description of
gdb.lookup_global_symbol.
2019-12-11 Simon Marchi <simon.marchi@efficios.com>
* gdb.texinfo (Writing JIT Debug Info Readers): Fix typo.

View File

@ -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