This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/18380] New: 'help python' gives Python 2 example
- From: "dholth at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 06 May 2015 02:07:20 +0000
- Subject: [Bug gdb/18380] New: 'help python' gives Python 2 example
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18380
Bug ID: 18380
Summary: 'help python' gives Python 2 example
Product: gdb
Version: 7.8
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: dholth at gmail dot com
Target Milestone: ---
Even though gdb embeds Python 3, the help statement shows a Python 2 example.
Typing the example yields SyntaxError. Instead, it should read python print(23)
(gdb) help python
Evaluate a Python command.
The command can be given as an argument, for instance:
python print 23
--
You are receiving this mail because:
You are on the CC list for the bug.