This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] [rfc patch+7.11] gdb-gdb.py: SyntaxError: Missing parentheses in call to 'print'


On Mon, 22 Feb 2016 17:12:43 +0100, Simon Marchi wrote:
> That means Python notices the error at parse time, not execution time.  It could
> very well be that you don't see the warning because that line is not actually
> executed.

OK, you are right.  In fact I had such an idea and I did test it but I realize
now my test was flawed.

Therefore checked in as obvious.

The newlines may be still wrong there, not sure, but that is a different
bug+fix.

master:
	ac46107c5c781894e013b10cd9fb5c98a8393d26
7.11:
	3d58f8997229b9045899dd306a47a3c27d03a9fd


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]