* python/py-param.c (parm_constants): Avoid ARI warning
[deliverable/binutils-gdb.git] / gdb / target.h
index 0d16139f45cb9c5c36bd907136a51bf9326a482c..272571b75020ae085e665f0023f33f595c40720c 100644 (file)
@@ -682,6 +682,10 @@ struct target_ops
     int (*to_verify_memory) (struct target_ops *, const gdb_byte *data,
                             CORE_ADDR memaddr, ULONGEST size);
 
+    /* Return the address of the start of the Thread Information Block
+       a Windows OS specific feature.  */
+    int (*to_get_tib_address) (ptid_t ptid, CORE_ADDR *addr);
+
     int to_magic;
     /* Need sub-structure for target machine related rather than comm related?
      */
@@ -1371,6 +1375,9 @@ extern int target_search_memory (CORE_ADDR start_addr,
 #define        target_set_circular_trace_buffer(val)   \
   (*current_target.to_set_circular_trace_buffer) (val)
 
+#define target_get_tib_address(ptid, addr) \
+  (*current_target.to_get_tib_address) ((ptid), (addr))
+
 /* Command logging facility.  */
 
 #define target_log_command(p)                                          \
This page took 0.023864 seconds and 4 git commands to generate.