]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/varobj.c
Remove #if HAVE_PYTHON
authorYao Qi <yao@codesourcery.com>
Fri, 30 Aug 2013 08:30:32 +0000 (16:30 +0800)
committerYao Qi <yao@codesourcery.com>
Thu, 12 Jun 2014 07:27:26 +0000 (15:27 +0800)
commit576ea0910f0bdb3b4705d6faa24d30c86ccf7a09
tree451f569e0e1bf43c15fab12c6de8184cf410c520
parent827f100cee10ed58ef9d22de35ba1d61db73e541
Remove #if HAVE_PYTHON

This patch removes some unnecessary "#if HAVE_PYTHON" so that more
code is generalized.

gdb:

2014-06-12  Pedro Alves  <pedro@codesourcery.com>
    Yao Qi  <yao@codesourcery.com>

* varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
(varobj_get_iterator): Wrap up code for pretty-printer by
"#if HAVE_PYTHON" and "#endif".
(update_dynamic_varobj_children): Likewise.
gdb/ChangeLog
gdb/varobj.c