[PATCH v2] Fix xmethod Python so that it works with Python 3

Joel Brobecker brobecker@adacore.com
Mon Sep 1 06:30:00 GMT 2014


> >>  > ChangeLog:
> >>  > 2014-08-14  Siva Chandra Reddy  <sivachandra@gmail.com>
> >>  >
> >>  > gdb/
> >>  >
> >>  >         * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
> >>  >         'items' methods instead of 'iteritems' method on dictionaries.
> >>  >
> >>  > gdb/testsuite/
> >>  >
> >>  >         * gdb.python/py-xmethods.py (A_getarrayind)
> >>  >         (E_method_char_worker.__call__, E_method_int_worker.__call__):
> >>  >         Use 'print' with function call syntax.
> >>  >         (E_method_matcher.match): Fix tab vs space indentation mixup.
> >>
> >> LGTM
> >
> > Pushed 940df408121be31beed22ef7a5ad133cb1592726.
> 
> Missed asking: OK for 7.8 branch?

Yes. Pleasae make sure to update the branch's wiki as well
(section "Fixes in 7.8.1" - you might need to create a PR for that).

Thanks,
-- 
Joel



More information about the Gdb-patches mailing list