From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69392 invoked by alias); 22 Feb 2016 16:28:25 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 68110 invoked by uid 89); 22 Feb 2016 16:28:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 spammy=Hx-languages-length:1035, gdbgdb, UD:gdb X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (176.31.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 22 Feb 2016 16:28:22 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb/gdb-7.11-branch] gdb-gdb.py: SyntaxError: Missing parentheses in call to 'print' From: sergiodj+buildbot@redhat.com To: gdb-testers@sourceware.org Message-Id: <3d58f8997229b9045899dd306a47a3c27d03a9fd@gdb-build> Date: Mon, 22 Feb 2016 16:28:00 -0000 X-SW-Source: 2016-q1/txt/msg06211.txt.bz2 *** TEST RESULTS FOR COMMIT 3d58f8997229b9045899dd306a47a3c27d03a9fd *** Author: Jan Kratochvil Branch: gdb-7.11-branch Commit: 3d58f8997229b9045899dd306a47a3c27d03a9fd gdb-gdb.py: SyntaxError: Missing parentheses in call to 'print' After building GDB --with-python=/usr/bin/python3 and for example stripping ./gdb and running: ./gdb -data-directory data-directory/ -iex "add-auto-load-safe-path $PWD/gdb-gdb.gdb" -iex "add-auto-load-safe-path $PWD/gdb-gdb. py" ./gdb I get: Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] File "/home/jkratoch/redhat/gdb-test-python3/gdb/gdb-gdb.py", line 91 print "Warning: Cannot find enum type_flag_value type." ^ SyntaxError: Missing parentheses in call to 'print' (top-gdb) q gdb/ChangeLog 2016-02-22 Jan Kratochvil * gdb-gdb.py (class TypeFlagsPrinter): Use parentheses for print.