diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-12-09 14:12:18 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2021-12-09 14:40:55 -0500 |
commit | fe72c32765e1190c8a17d309fc3a7e1882d6a430 (patch) | |
tree | d3f93e536b289b9a446467cee4aa5fe8e7eb0d30 /gdbsupport | |
parent | db94f15756752d3360d0ec81bd8143fa94821f3b (diff) | |
download | gdb-fe72c32765e1190c8a17d309fc3a7e1882d6a430.zip gdb-fe72c32765e1190c8a17d309fc3a7e1882d6a430.tar.gz gdb-fe72c32765e1190c8a17d309fc3a7e1882d6a430.tar.bz2 |
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
Diffstat (limited to 'gdbsupport')
-rw-r--r-- | gdbsupport/tdesc.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdbsupport/tdesc.cc b/gdbsupport/tdesc.cc index c04f494..b2deea0 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 ("<?xml version=\"1.0\"?>"); add_line ("<!DOCTYPE target SYSTEM \"gdb-target.dtd\">"); add_line ("<target>"); @@ -418,7 +417,6 @@ void print_xml_feature::visit_pre (const target_desc *e) for (const auto &c : compatible_list) add_line ("<compatible>%s</compatible>", tdesc_compatible_info_arch_name (c)); -#endif } void print_xml_feature::visit_post (const target_desc *e) |