Use gdbpy_enter in gdbpy_before_prompt_hook
[binutils-gdb.git] / gdb / arc-tdep.h
index 1b2694b69b7a2248a0554b1b725261c541ddd778..422db460048eff273cec31869dc8f9b74d8ecddf 100644 (file)
@@ -1,6 +1,6 @@
 /* Target dependent code for ARC arhitecture, for GDB.
 
-   Copyright 2005-2016 Free Software Foundation, Inc.
+   Copyright 2005-2017 Free Software Foundation, Inc.
    Contributed by Synopsys Inc.
 
    This file is part of GDB.
@@ -77,6 +77,15 @@ enum arc_regnum
 
 extern int arc_debug;
 
+/* Target-dependent information.  */
+
+struct gdbarch_tdep
+{
+  /* Offset to PC value in jump buffer.  If this is negative, longjmp
+     support will be disabled.  */
+  int jb_pc;
+};
+
 /* Utility functions used by other ARC-specific modules.  */
 
 static inline int