diff options
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h index af7d3d9..352f2df 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -659,6 +659,9 @@ struct target_ops /* Does this target support disabling address space randomization? */ int (*to_supports_disable_randomization) (void); + /* Does this target support the tracenz bytecode for string collection? */ + int (*to_supports_string_tracing) (void); + /* Determine current architecture of thread PTID. The target is supposed to determine the architecture of the code where @@ -904,6 +907,9 @@ int target_supports_disable_randomization (void); #define target_supports_enable_disable_tracepoint() \ (*current_target.to_supports_enable_disable_tracepoint) () +#define target_supports_string_tracing() \ + (*current_target.to_supports_string_tracing) () + /* Invalidate all target dcaches. */ extern void target_dcache_invalidate (void); |