Re: [Python-Dev] updated for gdbinit

2007-05-15 Thread Jean-Paul Calderone
On Tue, 15 May 2007 09:26:55 -0500, [EMAIL PROTECTED] wrote: >Christian> I tried to use gdbinit today and found that the "fragile" >Christian> pystacks macro didn't work anymore. I don't know gdb very >Christian> well, but this turned out to work a bit more reliably: > >... > >Thank

Re: [Python-Dev] updated for gdbinit

2007-05-15 Thread skip
Christian> I tried to use gdbinit today and found that the "fragile" Christian> pystacks macro didn't work anymore. I don't know gdb very Christian> well, but this turned out to work a bit more reliably: ... Thanks. I'll give it a try and check it in if it checks out. Skip _

[Python-Dev] updated for gdbinit

2007-05-15 Thread Christian Theune
Hi, I tried to use gdbinit today and found that the "fragile" pystacks macro didn't work anymore. I don't know gdb very well, but this turned out to work a bit more reliably: # print the entire Python call stack define pystack set $last=0 while $sp != $last if $pc > PyEval_EvalFra