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
44c19f64
Kaydet (Commit)
44c19f64
authored
Agu 27, 2007
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Get gdb macros working with unicode and PyVarObject change
üst
1e93f2b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gdbinit
Misc/gdbinit
+3
-3
No files found.
Misc/gdbinit
Dosyayı görüntüle @
44c19f64
...
...
@@ -32,7 +32,7 @@ define pylocals
while
$_i
< f->f_nlocals
if
f->f_localsplus +
$_i
!=
0
set
$_names
=
co->co_varnames
set
$_name
=
Py
String
_AsString
(
PyTuple_GetItem
(
$_names
,
$_i
))
set
$_name
=
Py
Unicode
_AsString
(
PyTuple_GetItem
(
$_names
,
$_i
))
printf
"%s:
\n
"
,
$_name
# side effect of calling _PyObject_Dump is to dump the object's
# info - assigning just prevents gdb from printing the
...
...
@@ -49,7 +49,7 @@ define lineno
set
$__continue
=
1
set
$__co
=
f->f_code
set
$__lasti
=
f->f_lasti
set
$__sz
=
((
Py
String
Object
*
)
$__co
->co_lnotab
)
->ob_size/2
set
$__sz
=
((
Py
Var
Object
*
)
$__co
->co_lnotab
)
->ob_size/2
set
$__p
=
(
unsigned char
*
)((
PyStringObject
*
)
$__co
->co_lnotab
)
->ob_sval
set
$__li
=
$__co
->co_firstlineno
set
$__ad
=
0
...
...
@@ -74,7 +74,7 @@ end
define pyframe
set
$__fn
=
(
char
*
)((
PyStringObject
*
)
co->co_filename
)
->ob_sval
set
$__n
=
(
char
*
)((
PyStringObject
*
)
co->co_name
)
->ob_sval
set
$__n
=
PyUnicode_AsString
(
co->co_name
)
printf
"%s ("
,
$__fn
lineno
printf
"): %s
\n
"
,
$__n
...
...
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