* [PATCH 1/2] Document gdb.SYMBOL_LOC_LABEL [not found] <20210526171541.769-1-ssbssa.ref@yahoo.de> @ 2021-05-26 17:15 ` Hannes Domani 2021-05-26 17:15 ` [PATCH 2/2] Fix InlinedFrameDecorator example Hannes Domani 2021-05-26 17:29 ` [PATCH 1/2] Document gdb.SYMBOL_LOC_LABEL Eli Zaretskii 0 siblings, 2 replies; 6+ messages in thread From: Hannes Domani @ 2021-05-26 17:15 UTC (permalink / raw) To: gdb-patches Looks like it was missing from the beginning. gdb/doc/ChangeLog: 2021-05-26 Hannes Domani <ssbssa@yahoo.de> * python.texi (Symbols In Python): Document gdb.SYMBOL_LOC_LABEL. --- gdb/doc/python.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 1247d0b19bb..4137e8ed796 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -5220,6 +5220,10 @@ Value is a local variable. Value not used. Symbols in the domain @code{SYMBOL_STRUCT_DOMAIN} all have this class. +@vindex SYMBOL_LOC_LABEL +@item gdb.SYMBOL_LOC_LABEL +Value is a label. + @vindex SYMBOL_LOC_BLOCK @item gdb.SYMBOL_LOC_BLOCK Value is a block. -- 2.31.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] Fix InlinedFrameDecorator example 2021-05-26 17:15 ` [PATCH 1/2] Document gdb.SYMBOL_LOC_LABEL Hannes Domani @ 2021-05-26 17:15 ` Hannes Domani 2021-05-29 1:34 ` Simon Marchi 2021-05-26 17:29 ` [PATCH 1/2] Document gdb.SYMBOL_LOC_LABEL Eli Zaretskii 1 sibling, 1 reply; 6+ messages in thread From: Hannes Domani @ 2021-05-26 17:15 UTC (permalink / raw) To: gdb-patches Argument fobj was only available in the constructor. gdb/doc/ChangeLog: 2021-05-26 Hannes Domani <ssbssa@yahoo.de> * python.texi (Writing a Frame Filter): Fix example. --- gdb/doc/python.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 4137e8ed796..0d8f480e472 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -2373,7 +2373,7 @@ class InlinedFrameDecorator(FrameDecorator): super(InlinedFrameDecorator, self).__init__(fobj) def function(self): - frame = fobj.inferior_frame() + frame = self.inferior_frame() name = str(frame.name()) if frame.type() == gdb.INLINE_FRAME: -- 2.31.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Fix InlinedFrameDecorator example 2021-05-26 17:15 ` [PATCH 2/2] Fix InlinedFrameDecorator example Hannes Domani @ 2021-05-29 1:34 ` Simon Marchi 2021-05-29 11:41 ` Hannes Domani 0 siblings, 1 reply; 6+ messages in thread From: Simon Marchi @ 2021-05-29 1:34 UTC (permalink / raw) To: Hannes Domani, gdb-patches On 2021-05-26 1:15 p.m., Hannes Domani via Gdb-patches wrote: > Argument fobj was only available in the constructor. > > gdb/doc/ChangeLog: > > 2021-05-26 Hannes Domani <ssbssa@yahoo.de> > > * python.texi (Writing a Frame Filter): Fix example. > --- > gdb/doc/python.texi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi > index 4137e8ed796..0d8f480e472 100644 > --- a/gdb/doc/python.texi > +++ b/gdb/doc/python.texi > @@ -2373,7 +2373,7 @@ class InlinedFrameDecorator(FrameDecorator): > super(InlinedFrameDecorator, self).__init__(fobj) > > def function(self): > - frame = fobj.inferior_frame() > + frame = self.inferior_frame() > name = str(frame.name()) > > if frame.type() == gdb.INLINE_FRAME: > LGTM, thanks. Simon ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Fix InlinedFrameDecorator example 2021-05-29 1:34 ` Simon Marchi @ 2021-05-29 11:41 ` Hannes Domani 0 siblings, 0 replies; 6+ messages in thread From: Hannes Domani @ 2021-05-29 11:41 UTC (permalink / raw) To: gdb-patches, Simon Marchi Am Samstag, 29. Mai 2021, 03:35:06 MESZ hat Simon Marchi <simon.marchi@polymtl.ca> Folgendes geschrieben: > On 2021-05-26 1:15 p.m., Hannes Domani via Gdb-patches wrote: > > Argument fobj was only available in the constructor. > > > > gdb/doc/ChangeLog: > > > > 2021-05-26 Hannes Domani <ssbssa@yahoo.de> > > > > * python.texi (Writing a Frame Filter): Fix example. > > --- > > gdb/doc/python.texi | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi > > index 4137e8ed796..0d8f480e472 100644 > > --- a/gdb/doc/python.texi > > +++ b/gdb/doc/python.texi > > @@ -2373,7 +2373,7 @@ class InlinedFrameDecorator(FrameDecorator): > > super(InlinedFrameDecorator, self).__init__(fobj) > > > > def function(self): > > - frame = fobj.inferior_frame() > > + frame = self.inferior_frame() > > name = str(frame.name()) > > > > if frame.type() == gdb.INLINE_FRAME: > > > > > > LGTM, thanks. Pushed, thanks. Hannes ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] Document gdb.SYMBOL_LOC_LABEL 2021-05-26 17:15 ` [PATCH 1/2] Document gdb.SYMBOL_LOC_LABEL Hannes Domani 2021-05-26 17:15 ` [PATCH 2/2] Fix InlinedFrameDecorator example Hannes Domani @ 2021-05-26 17:29 ` Eli Zaretskii 2021-05-27 17:56 ` Hannes Domani 1 sibling, 1 reply; 6+ messages in thread From: Eli Zaretskii @ 2021-05-26 17:29 UTC (permalink / raw) To: Hannes Domani; +Cc: gdb-patches > Date: Wed, 26 May 2021 19:15:40 +0200 > From: Hannes Domani via Gdb-patches <gdb-patches@sourceware.org> > > Looks like it was missing from the beginning. > > gdb/doc/ChangeLog: > > 2021-05-26 Hannes Domani <ssbssa@yahoo.de> > > * python.texi (Symbols In Python): Document gdb.SYMBOL_LOC_LABEL. OK. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] Document gdb.SYMBOL_LOC_LABEL 2021-05-26 17:29 ` [PATCH 1/2] Document gdb.SYMBOL_LOC_LABEL Eli Zaretskii @ 2021-05-27 17:56 ` Hannes Domani 0 siblings, 0 replies; 6+ messages in thread From: Hannes Domani @ 2021-05-27 17:56 UTC (permalink / raw) To: Eli Zaretskii; +Cc: gdb-patches Am Mittwoch, 26. Mai 2021, 19:29:00 MESZ hat Eli Zaretskii <eliz@gnu.org> Folgendes geschrieben: > > Date: Wed, 26 May 2021 19:15:40 +0200 > > > From: Hannes Domani via Gdb-patches <gdb-patches@sourceware.org> > > > > Looks like it was missing from the beginning. > > > > gdb/doc/ChangeLog: > > > > 2021-05-26 Hannes Domani <ssbssa@yahoo.de> > > > > * python.texi (Symbols In Python): Document gdb.SYMBOL_LOC_LABEL. > > > OK. Pushed, thanks. Hannes ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-05-29 11:41 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20210526171541.769-1-ssbssa.ref@yahoo.de> 2021-05-26 17:15 ` [PATCH 1/2] Document gdb.SYMBOL_LOC_LABEL Hannes Domani 2021-05-26 17:15 ` [PATCH 2/2] Fix InlinedFrameDecorator example Hannes Domani 2021-05-29 1:34 ` Simon Marchi 2021-05-29 11:41 ` Hannes Domani 2021-05-26 17:29 ` [PATCH 1/2] Document gdb.SYMBOL_LOC_LABEL Eli Zaretskii 2021-05-27 17:56 ` Hannes Domani
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).