This is the mail archive of the gdb-prs@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]

[Bug python/20624] gdb.Value doesn't support Python floordiv operator, //


https://sourceware.org/bugzilla/show_bug.cgi?id=20624

--- Comment #4 from Jonathan Wakely <jwakely.gcc at gmail dot com> ---
(In reply to Johan Tufvesson from comment #3)
> but does not work for their 7.12.0 (part of their gcc "6.2-2016q4"
> toolchain):

It's possible their 7.10.1 is built against Python 2 and 7.12.0 is built
against Python 3 or something like that.

> I don't blame the GDB project if the ARM people have added (and later
> removed) a patch for this behavior, but I think the behavior of not allowing
> // is wrong.

It's not explicitly disallowed, it just needs extra code to make it work. I
will resume work on my patch for this when I get a chance.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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