[RFC] [PATCH] Provide the ability to write the frame unwinder in Python

classic Classic list List threaded Threaded
60 messages Options
[RFC] [PATCH] Provide the ability to write the frame unwinder in Python – Python frame filters provide the ability to display non-native frames in a mixed-language application (say, a backtrace of an application written...
Alexander Smundak writes: > Python frame filters provide the ability to display non-native frames in > a mixed-language application (say...
On Wed, Feb 4, 2015 at 2:35 PM, Doug Evans <dje@...> wrote: > High level comments: > > Is it possible to see the code, and examp...
On 12/02/15 17:58, Alexander Smundak wrote: > On Wed, Feb 4, 2015 at 2:35 PM, Doug Evans <dje@...> wrote: >> High level comments:...
Here's another round. I am not sure who will be the reviewer this time. >>> Is it possible to see the code, and example usage, of a r...
Responding on this thread to Andy Wingo's comments (see https://sourceware.org/ml/gdb-patches/2015-03/msg00037.html): Doug & Phil, please co...
Hi Alexander, Thanks for the reply! On Mon 02 Mar 2015 23:56, Alexander Smundak <asmundak@...> writes: > So here's the new propo...
>> So here's the new proposal for the Python API, hopefully in >> line with what you have in mind for Guile: >> >> If a...
Howdy :) Reordering some of the replies. On Wed 04 Mar 2015 03:36, Alexander Smundak <asmundak@...> writes: >> You'll need a ...
On 04/03/15 07:49, Andy Wingo wrote: > Howdy :) > > Reordering some of the replies. > > On Wed 04 Mar 2015 03:36, Alexander Sm...
This take revises the API by introducing UnwindInfo class. The main difference with the proposed Guile interface is that previous frame registers...
Hi, On Wed 11 Mar 2015 03:22, Alexander Smundak <asmundak@...> writes: > +@defun SnifferInfo.read_register (self, regnum) > +Th...
On Wed, Mar 11, 2015 at 1:49 AM, Andy Wingo <wingo@...> wrote: >I note that the patch has no interface to specify registers by name. &g...
Hi :) [-pmuldoon as he has already given an LGTM] On Wed 11 Mar 2015 19:48, Alexander Smundak <asmundak@...> writes: >> What ...
> How about let's meet somewhat halfway. > > * We rename SnifferInfo to EphemeralFrame. > > * Unwinders return UnwindInfo (...
On Mon 16 Mar 2015 18:25, Alexander Smundak <asmundak@...> writes: > I'd like to propose one improvement on the Python side: UnwinderI...
On Tue, Mar 17, 2015 at 1:57 AM, Andy Wingo <wingo@...> wrote: > On Mon 16 Mar 2015 18:25, Alexander Smundak <asmundak@...> writes...
Here is the updated revision of the patch, synced with upstream and with new API (the input to a sniffer is still named SnifferInfo, and the outp...
On Tue 17 Mar 2015 22:37, Alexander Smundak <asmundak@...> writes: > +/* The implementation of > + gdb.UnwindInfo.set_previous_f...
> Nit: we are setting the register here. Fixed. >> + _("When non-zero, Pythin unwinder debugging is enabled."), >...
Alexander Smundak writes: > > Nit: we are setting the register here. > Fixed. > > >> + _("When non-zero,...
> > diff --git a/gdb/python/py-unwind.c b/gdb/python/py-unwind.c ... > Also, we need another class: gdb.FrameID. > I'm not sure wh...
Alexander Smundak writes: > > > diff --git a/gdb/python/py-unwind.c b/gdb/python/py-unwind.c > ... > > Also, we need anot...
Addressed eliz@ and dje@ comments. gdb/ChangeLog 2015-03-28 Sasha Smundak <asmundak@...> * Makefile.in (SUBDIR_PYTHON_OBJS): ...
Alexander Smundak writes: > Addressed eliz@ and dje@ comments. > > gdb/ChangeLog > > 2015-03-28 Sasha Smundak <asm...
Fixed documentation and added '_gdb.' prefix to 'objfiles()'. PTAL. On Mon, Mar 30, 2015 at 10:45 AM, Doug Evans <dje@...> wrote: >...
Alexander Smundak writes: > Fixed documentation and added '_gdb.' prefix to 'objfiles()'. > PTAL. > > > On Mon, Mar 30,...
Thank you for reviewing this! How will this change make it into the GDB repository? I don't have the authority to commit changes.
On Tue, Mar 31, 2015 at 5:09 PM, Alexander Smundak <asmundak@...> wrote: > Thank you for reviewing this! > > How will this chang...
> Date: Wed, 25 Mar 2015 20:31:09 -0700 > From: Alexander Smundak <asmundak@...> > Cc: Andy Wingo <wingo@...>, gdb-patches ...
Hi, Replying for comments that affect the Guile patch. On Mon 23 Mar 2015 20:58, Doug Evans <dje@...> writes: > Andy: Can we for...
On Tue, Mar 17, 2015 at 12:48 PM, Alexander Smundak <asmundak@...> wrote: > IMHO we reached an agreement on API. > > I would rea...
> Regarding the result of an unwinder/sniffer, > If I approach this from the point of view of what's > easy to explain, it feels like t...
On Thu 19 Mar 2015 01:36, Alexander Smundak <asmundak@...> writes: >> Regarding the result of an unwinder/sniffer, >> If I a...
Andy Wingo writes: > On Thu 19 Mar 2015 01:36, Alexander Smundak <asmundak@...> writes: > > >> Regarding the result of...
Hi, Thanks for taking the time to look at the patches, Doug! On Fri 20 Mar 2015 01:15, Doug Evans <dje@...> writes: > 2) IIUC, s...
Andy Wingo writes: > Hi, > > Thanks for taking the time to look at the patches, Doug! > > On Fri 20 Mar 2015 01:15, Dou...
> In python, let's use EphemeralFrame instead of SnifferInfo. I'd rather have InspectedFrame than EphemeralFrame, but it's fine with me if ...
Alexander Smundak writes: > > In python, let's use EphemeralFrame instead of SnifferInfo. > > I'd rather have InspectedFrame th...
[+ guile-devel, in case they have an opinion on the spelling of frame-data-read-register vs frame-data:read-register] On Tue, Mar 17, 2015 at ...
Hi, [-asmundak, as he probably doesn't care :)] On Tue 17 Mar 2015 23:21, Doug Evans <dje@...> writes: > On Tue, Mar 17, 2015 at...
On Wed, Mar 18, 2015 at 1:57 AM, Andy Wingo <wingo@...> wrote: > Hi, > > [-asmundak, as he probably doesn't care :)] > >...
Hi :) On Wed 18 Mar 2015 17:48, Doug Evans <dje@...> writes: > On Wed, Mar 18, 2015 at 1:57 AM, Andy Wingo <wingo@...> wrote:...
Responding with a thinko: On Mon 16 Mar 2015 12:29, Andy Wingo <wingo@...> writes: > * After accepting an UnwindInfo as an unwind...
On Wed, Mar 11, 2015 at 1:49 AM, Andy Wingo <wingo@...> wrote: > [...] > What do you think about merging the SnifferInfo and UnwindI...
Greets Alexander, One thing I found in your docs: > +@subheading Returning Previous Frame > + > +If sniffer's @code{__call__} met...
On Wed, Feb 25, 2015 at 7:09 PM, Alexander Smundak <asmundak@...> wrote: >>>> Is it possible to see the code, and example usage...
On Tue 03 Mar 2015 01:49, Alexander Smundak <asmundak@...> writes: > I've posted it at the OpenJDK revisions site: > http://cr.ope...
>> I've posted it at the OpenJDK revisions site: >> http://cr.openjdk.java.net/~asmundak/gdbunwind/hotspot/webrev.00/agent/src/os/lin...
Ping. On Thu, Feb 12, 2015 at 9:58 AM, Alexander Smundak <asmundak@...> wrote: > On Wed, Feb 4, 2015 at 2:35 PM, Doug Evans <dje@....
On 15/12/14 18:13, Alexander Smundak wrote: > Python frame filters provide the ability to display non-native frames in > a mixed-language ...
On 20/02/15 09:42, Phil Muldoon wrote: > On 15/12/14 18:13, Alexander Smundak wrote: >> Python frame filters provide the ability to dis...
Ping.
Ping. On Mon, Dec 22, 2014 at 11:24 AM, Alexander Smundak <asmundak@...> wrote: > Ping.
Ping. On Mon, Dec 29, 2014 at 10:02 AM, Alexander Smundak <asmundak@...> wrote: > Ping. > > On Mon, Dec 22, 2014 at 11:24 AM,...
Ping. On Mon, Jan 5, 2015 at 9:53 AM, Alexander Smundak <asmundak@...> wrote: > Ping. > > On Mon, Dec 29, 2014 at 10:02 AM, A...
Ping On Mon, Jan 12, 2015 at 12:03 PM, Alexander Smundak <asmundak@...> wrote: > Ping. > > On Mon, Jan 5, 2015 at 9:53 AM, Al...
On Wed, Jan 21, 2015 at 7:31 PM, Alexander Smundak <asmundak@...> wrote: > Ping > > On Mon, Jan 12, 2015 at 12:03 PM, Alexander ...
On 14-12-15 01:13 PM, Alexander Smundak wrote: > Python frame filters provide the ability to display non-native frames in > a mixed-langua...
On Mon, Jan 12, 2015 at 1:00 PM, Simon Marchi <simon.marchi@...> wrote: > On 14-12-15 01:13 PM, Alexander Smundak wrote: >> Pytho...