Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
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ç
LibreOffice
core
Commits
396643d4
Kaydet (Commit)
396643d4
authored
Tem 29, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
gdb pretty printers for boost can't iterate with Python 3
Change-Id: Ie2d1cb7312de6f14a5c6de81eefd7a00be6f75c0
üst
12047823
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ptr_container.py
solenv/gdb/boost/ptr_container.py
+4
-4
unordered.py
solenv/gdb/boost/unordered.py
+2
-2
No files found.
solenv/gdb/boost/ptr_container.py
Dosyayı görüntüle @
396643d4
...
...
@@ -70,7 +70,7 @@ class PtrStdPrinterBase(object):
return
self
def
__next__
(
self
):
(
index
,
value
)
=
s
elf
.
impl
.
next
(
)
(
index
,
value
)
=
s
ix
.
advance_iterator
(
self
.
impl
)
return
(
index
,
value
.
cast
(
self
.
type
)
.
dereference
())
def
_import_std
(
self
):
...
...
@@ -137,7 +137,7 @@ class PtrMapPrinter(PtrStdPrinterBase):
return
self
def
__next__
(
self
):
(
index
,
value
)
=
s
elf
.
impl
.
next
(
)
(
index
,
value
)
=
s
ix
.
advance_iterator
(
self
.
impl
)
if
self
.
key
:
value
=
value
.
cast
(
self
.
key_type
)
else
:
...
...
@@ -190,7 +190,7 @@ class PtrUnorderedMapPrinter(PtrBoostPrinterBase):
def
__next__
(
self
):
if
self
.
step
:
self
.
value
=
s
elf
.
impl
.
next
(
)
self
.
value
=
s
ix
.
advance_iterator
(
self
.
impl
)
value
=
self
.
value
[
0
]
else
:
value
=
self
.
value
[
1
]
.
cast
(
self
.
value_type
)
.
dereference
()
...
...
@@ -216,7 +216,7 @@ class PtrUnorderedSetPrinter(PtrBoostPrinterBase):
return
self
def
__next__
(
self
):
return
(
""
,
s
elf
.
impl
.
next
(
)[
1
]
.
cast
(
self
.
value_type
)
.
dereference
())
return
(
""
,
s
ix
.
advance_iterator
(
self
.
impl
)[
1
]
.
cast
(
self
.
value_type
)
.
dereference
())
printer
=
None
...
...
solenv/gdb/boost/unordered.py
Dosyayı görüntüle @
396643d4
...
...
@@ -63,7 +63,7 @@ class UnorderedMapPrinter(PrinterBase):
def
__next__
(
self
):
if
self
.
step
:
self
.
value
=
s
elf
.
impl
.
next
(
)
self
.
value
=
s
ix
.
advance_iterator
(
self
.
impl
)
value
=
self
.
value
[
0
]
else
:
value
=
self
.
value
[
1
]
...
...
@@ -87,7 +87,7 @@ class UnorderedSetPrinter(PrinterBase):
return
self
def
__next__
(
self
):
return
(
""
,
s
elf
.
impl
.
next
(
)[
1
])
return
(
""
,
s
ix
.
advance_iterator
(
self
.
impl
)[
1
])
printer
=
None
...
...
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