/* Target-dependent code for the Fujitsu FR-V, for GDB, the GNU Debugger.
- Copyright (C) 2002-2019 Free Software Foundation, Inc.
+ Copyright (C) 2002-2020 Free Software Foundation, Inc.
This file is part of GDB.
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-
-/* Local non-gdb includes. */
-#include "../opcodes/frv-desc.h"
+#include "inferior.h"
+#include "gdbcore.h"
#include "arch-utils.h"
+#include "regcache.h"
+#include "frame.h"
+#include "frame-unwind.h"
+#include "frame-base.h"
+#include "trad-frame.h"
#include "dis-asm.h"
+#include "sim-regno.h"
+#include "gdb/sim-frv.h"
+#include "opcodes/frv-desc.h" /* for the H_SPR_... enums */
+#include "symtab.h"
#include "elf-bfd.h"
#include "elf/frv.h"
-#include "frame-base.h"
-#include "frame-unwind.h"
-#include "frame.h"
-#include "frv-tdep.h"
-#include "gdb/sim-frv.h"
-#include "gdbcore.h"
-#include "infcall.h"
-#include "inferior.h"
-#include "objfiles.h"
#include "osabi.h"
-#include "regcache.h"
-#include "sim-regno.h"
+#include "infcall.h"
#include "solib.h"
-#include "symtab.h"
-#include "trad-frame.h"
+#include "frv-tdep.h"
+#include "objfiles.h"
struct frv_unwind_cache /* was struct frame_extra_info */
{
J - The register number of GRj in the instruction description.
K - The register number of GRk in the instruction description.
I - The register number of GRi.
- S - a signed imediate offset.
+ S - a signed immediate offset.
U - an unsigned immediate offset.
The dots below the numbers indicate where hex digit boundaries
s = lookup_minimal_symbol_by_pc (call_dest);
if (s.minsym != NULL
- && MSYMBOL_LINKAGE_NAME (s.minsym) != NULL
- && strcmp (MSYMBOL_LINKAGE_NAME (s.minsym), "__main") == 0)
+ && s.minsym->linkage_name () != NULL
+ && strcmp (s.minsym->linkage_name (), "__main") == 0)
{
pc += 4;
return pc;