diff options
author | Tom Tromey <tromey@adacore.com> | 2020-11-02 10:17:07 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-11-02 10:17:07 -0700 |
commit | 5b3d3560e9e867f652ff622863cbac267455f726 (patch) | |
tree | f43c211abd48c163511bc5457d6d729c6bca2a9b /gdbsupport | |
parent | dda83cd783075941aabe9b0292b004b11f00c831 (diff) | |
download | gdb-5b3d3560e9e867f652ff622863cbac267455f726.zip gdb-5b3d3560e9e867f652ff622863cbac267455f726.tar.gz gdb-5b3d3560e9e867f652ff622863cbac267455f726.tar.bz2 |
Minor Python simplifications
I noticed that a few "#if"s could be removed from the Python code.
This patch is the result.
gdb/ChangeLog
2020-11-02 Tom Tromey <tromey@adacore.com>
* python/python.c: Consolidate two HAVE_PYTHON blocks.
(python_GdbModuleDef): Move earlier. Now static.
(do_start_initialization): Consolidate some IS_PY3K blocks.
Diffstat (limited to 'gdbsupport')
0 files changed, 0 insertions, 0 deletions