aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-03-05 14:58:24 -0700
committerTom Tromey <tromey@adacore.com>2019-03-05 15:01:59 -0700
commitea38e5df7707949c20a92004f0f66efb4a9ff2a5 (patch)
tree3f1984782c941ea7d6fadcaf57d97761eb4c90c6 /gdb/remote-sim.c
parent06b5b831a09417bac37b44599dc35d4b904700c5 (diff)
downloadbinutils-ea38e5df7707949c20a92004f0f66efb4a9ff2a5.zip
binutils-ea38e5df7707949c20a92004f0f66efb4a9ff2a5.tar.gz
binutils-ea38e5df7707949c20a92004f0f66efb4a9ff2a5.tar.bz2
Remove some Python 3 #ifs
A recent patch from Kevin Buettner taught me that the PyBytes API is available on Python 2. This patch removes a couple of related #ifs in the Python code. Tested on x86-64 Fedora 29, using both Python 3.7 and Python 2.7. gdb/ChangeLog 2019-03-05 Tom Tromey <tromey@adacore.com> * python/py-prettyprint.c (print_string_repr): Remove #if. * python/py-utils.c (unicode_to_encoded_string): Remove #if.
Diffstat (limited to 'gdb/remote-sim.c')
0 files changed, 0 insertions, 0 deletions