X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Farc-tdep.h;h=d72332c76389ed7cc35650d6715c159fa558dc65;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=1c195cb2c31de11e9c358460f63ad508aa942c52;hpb=42a4f53d2bf8938c2aeda9f52be7a20534b214a9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/arc-tdep.h b/gdb/arc-tdep.h index 1c195cb2c3..d72332c763 100644 --- a/gdb/arc-tdep.h +++ b/gdb/arc-tdep.h @@ -1,6 +1,6 @@ -/* Target dependent code for ARC arhitecture, for GDB. +/* Target dependent code for ARC architecture, for GDB. - Copyright 2005-2019 Free Software Foundation, Inc. + Copyright 2005-2020 Free Software Foundation, Inc. Contributed by Synopsys Inc. This file is part of GDB. @@ -23,6 +23,7 @@ /* Need disassemble_info. */ #include "dis-asm.h" +#include "arch/arc.h" /* To simplify GDB code this enum assumes that internal regnums should be same as architectural register numbers, i.e. PCL regnum is 63. This allows to @@ -163,4 +164,7 @@ CORE_ADDR arc_insn_get_branch_target (const struct arc_instruction &insn); CORE_ADDR arc_insn_get_linear_next_pc (const struct arc_instruction &insn); +/* Get the correct ARC target description for the given system type. */ +const target_desc *arc_read_description (arc_sys_type sys_type); + #endif /* ARC_TDEP_H */