Manage objfiles with shared_ptr
[deliverable/binutils-gdb.git] / gdb / tic6x-tdep.h
index 022757227f1dd682c7490d03e178d5ddcd43ea79..f6f76be8e9b47d51f3195b4bab0a2b4f8df9d2ba 100644 (file)
@@ -1,6 +1,5 @@
 /* GNU/Linux on  TI C6x target support.
-   Copyright (C) 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 2011-2019 Free Software Foundation, Inc.
    Contributed by Yao Qi <yao@codesourcery.com>
 
    This file is part of GDB.
@@ -18,6 +17,9 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#ifndef TIC6X_TDEP_H
+#define TIC6X_TDEP_H
+
 enum
 {
   TIC6X_A4_REGNUM = 4,
@@ -48,7 +50,9 @@ struct gdbarch_tdep
      instruction.  */
   CORE_ADDR (*syscall_next_pc) (struct frame_info *frame);
 
-  const char *breakpoint; /* Breakpoint instruction.  */
+  const gdb_byte *breakpoint; /* Breakpoint instruction.  */
 
   int has_gp; /* Has general purpose registers A16 - A31 and B16 - B31.  */
 };
+
+#endif /* TIC6X_TDEP_H */
This page took 0.027996 seconds and 4 git commands to generate.