diff options
Diffstat (limited to 'gdb/target-descriptions.c')
-rw-r--r-- | gdb/target-descriptions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c index 0b95379..1795518 100644 --- a/gdb/target-descriptions.c +++ b/gdb/target-descriptions.c @@ -2163,9 +2163,13 @@ public: void visit (const target_desc *e) override { + printf_unfiltered ("#ifdef GDBSERVER\n"); + printf_unfiltered ("#include \"tdesc.h\"\n"); + printf_unfiltered ("#else\n"); printf_unfiltered ("#include \"defs.h\"\n"); printf_unfiltered ("#include \"osabi.h\"\n"); printf_unfiltered ("#include \"target-descriptions.h\"\n"); + printf_unfiltered ("#endif\n"); printf_unfiltered ("\n"); } |