Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
ae5465a5
Kaydet (Commit)
ae5465a5
authored
Ock 14, 2010
tarafından
Skip Montanaro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make similar changes to 3.x version.
üst
8917d5e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
gdbinit
Misc/gdbinit
+9
-3
No files found.
Misc/gdbinit
Dosyayı görüntüle @
ae5465a5
...
...
@@ -115,12 +115,18 @@ end
# interpreter, but the test can be extended by an interested party). If
# Py_Main <= $pc <= Py_GetArgcArv is true, $pc is in Py_Main(), so the while
# tests succeeds as long as it's not true. In a similar fashion the if
# statement tests to see if we are in PyEval_EvalFrame().
# statement tests to see if we are in PyEval_EvalFrameEx().
# Note: The name of the main interpreter function and the function which
# follow it has changed over time. This version of pystack works with this
# version of Python. If you try using it with older or newer versions of
# the interpreter you may will have to change the functions you compare with
# $pc.
# print the entire Python call stack
define pystack
while
$pc
< Py_Main
||
$pc
>
Py_GetArgcArgv
if
$pc
>
PyEval_EvalFrame
&&
$pc
< PyEval_EvalCodeEx
if
$pc
>
PyEval_EvalFrame
Ex
&&
$pc
< PyEval_EvalCodeEx
pyframe
end
up-silently 1
...
...
@@ -131,7 +137,7 @@ end
# print the entire Python call stack - verbose mode
define pystackv
while
$pc
< Py_Main
||
$pc
>
Py_GetArgcArgv
if
$pc
>
PyEval_EvalFrame
&&
$pc
< PyEval_EvalCodeEx
if
$pc
>
PyEval_EvalFrame
Ex
&&
$pc
< PyEval_EvalCodeEx
pyframev
end
up-silently 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment