From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16005 invoked by alias); 5 Mar 2014 13:41:39 -0000 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 Received: (qmail 15872 invoked by uid 89); 5 Mar 2014 13:41:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=BAYES_00,KAM_STOCKGEN,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: satori.sandbox-dev.search.yandex.net Received: from satori.sandbox-dev.search.yandex.net (HELO satori.sandbox-dev.search.yandex.net) (5.255.204.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Mar 2014 13:41:37 +0000 Received: by satori.sandbox-dev.search.yandex.net (Postfix, from userid 30101) id EF46AF40924; Wed, 5 Mar 2014 17:41:34 +0400 (MSK) From: Maxim Bublis To: gdb-patches@sourceware.org Cc: Maxim Bublis Subject: =?UTF-8?q?=5BPATCH=20v2=203/3=5D=20gdb/doc/python=2Etexi=3A=20documented=20gdb=2ESYMBOL=5FLOC=5FLABEL=2C=20added=20notion=20on=20possible=20exceptions=20thrown=20from=20symbol=20object=20value=20method?= Date: Wed, 05 Mar 2014 13:41:00 -0000 Message-Id: <1394026864-4691-3-git-send-email-satori@yandex-team.ru> In-Reply-To: <1394026864-4691-1-git-send-email-satori@yandex-team.ru> References: <1394026864-4691-1-git-send-email-satori@yandex-team.ru> In-Reply-To: <1393929360-31299-4-git-send-email-satori@yandex-team.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2014-03/txt/msg00117.txt.bz2 --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/python.texi | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 47f5f38..c019c8d 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2014-03-05 Maxim Bublis + + * gdb/doc/python.texi (Symbols In Python): Document gdb.SYMBOL_LOC_LABEL + address class. Added notion on possible exception thrown from value + method with some address classes. + 2014-02-26 Ludovic Courtès * gdb/doc/guile.texi (Basic Guile): Document 'history-append!'. diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 90b7074..bea372f 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -3544,7 +3544,9 @@ functions, this computes the address of the function, cast to the appropriate type. If the symbol requires a frame in order to compute its value, then @var{frame} must be given. If @var{frame} is not given, or if @var{frame} is invalid, then this method will throw an -exception. +exception. This method will also throw an exception for symbols +for which it is not possible to compute the value, such as +@code{gdb.SYMBOL_LOC_TYPEDEF} or @code{gdb.SYMBOL_LOC_LABEL}). @end defun The available domain categories in @code{gdb.Symbol} are represented @@ -3632,6 +3634,10 @@ Value is a local variable. @item gdb.SYMBOL_LOC_TYPEDEF Value not used. Symbols in the domain @code{SYMBOL_STRUCT_DOMAIN} all have this class. +@findex SYMBOL_LOC_LABEL +@findex gdb.SYMBOL_LOC_LABEL +@item gdb.SYMBOL_LOC_LABEL +Value is address @code{SYMBOL_VALUE_ADDRESS} in the code. @findex SYMBOL_LOC_BLOCK @findex gdb.SYMBOL_LOC_BLOCK @item gdb.SYMBOL_LOC_BLOCK -- 1.7.9.5