Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
d1f736a2
Commit
d1f736a2
authored
Jul 02, 2010
by
Matthias Klose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Revert two chunks from libstdc++-v3/python/libstdcxx/v6/printers.py,
left over from testing. From-SVN: r161702
parent
1e0859a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
libstdc++-v3/python/libstdcxx/v6/printers.py
+2
-3
No files found.
libstdc++-v3/python/libstdcxx/v6/printers.py
View file @
d1f736a2
...
...
@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
import gdb
import
gdb
import
itertools
import
re
...
...
@@ -77,8 +77,7 @@ class StdListPrinter:
elif
self
.
typename
==
"std::__debug::list"
:
nodetype
=
gdb
.
lookup_type
(
'std::__norm::_List_node<
%
s>'
%
itype
)
.
pointer
()
else
:
#raise ValueError, "Cannot cast list node for list printer."
raise
"Cannot cast list node for list printer."
raise
ValueError
,
"Cannot cast list node for list printer."
return
self
.
_iterator
(
nodetype
,
self
.
val
[
'_M_impl'
][
'_M_node'
])
def
to_string
(
self
):
...
...
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