public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/18380] New: 'help python' gives Python 2 example
@ 2015-05-06 2:07 dholth at gmail dot com
0 siblings, 0 replies; only message in thread
From: dholth at gmail dot com @ 2015-05-06 2:07 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-06 2:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-06 2:07 [Bug gdb/18380] New: 'help python' gives Python 2 example dholth at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).