From: Simon Marchi Date: Thu, 9 Dec 2021 19:12:18 +0000 (-0500) Subject: gdbsupport: remove unnecessary `#ifndef IN_PROCESS_AGENT` X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe72c32765e1190c8a17d309fc3a7e1882d6a430;p=binutils-gdb.git gdbsupport: remove unnecessary `#ifndef IN_PROCESS_AGENT` I suppose this code was copied from GDBserver and this ifndef was left there. As far as I know, IN_PROCESS_AGENT will never be defined when building this file, so we can remove this. Change-Id: I84fc408e330b3a29106df830a09342861cadbaf6 --- diff --git a/gdbsupport/tdesc.cc b/gdbsupport/tdesc.cc index c04f4943fc0..b2deea04613 100644 --- a/gdbsupport/tdesc.cc +++ b/gdbsupport/tdesc.cc @@ -400,7 +400,6 @@ void print_xml_feature::visit (const tdesc_reg *r) void print_xml_feature::visit_pre (const target_desc *e) { -#ifndef IN_PROCESS_AGENT add_line (""); add_line (""); add_line (""); @@ -418,7 +417,6 @@ void print_xml_feature::visit_pre (const target_desc *e) for (const auto &c : compatible_list) add_line ("%s", tdesc_compatible_info_arch_name (c)); -#endif } void print_xml_feature::visit_post (const target_desc *e)