Error when gdb_is_target_1 is called without running gdb instance
[binutils-gdb.git] / gdb / rx-tdep.c
index 73e708b6462d9a817a090aa98c0f97228dcf7484..2a24ebba2b60312df3224ab3ad1a0f5ffaa43856 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for the Renesas RX for GDB, the GNU debugger.
 
-   Copyright (C) 2008-2021 Free Software Foundation, Inc.
+   Copyright (C) 2008-2022 Free Software Foundation, Inc.
 
    Contributed by Red Hat, Inc.
 
@@ -35,6 +35,7 @@
 #include "dwarf2/frame.h"
 #include "remote.h"
 #include "target-descriptions.h"
+#include "gdbarch.h"
 
 #include "elf/rx.h"
 #include "elf-bfd.h"