gdbserver: Support the "swbreak"/"hwbreak" stop reasons
[deliverable/binutils-gdb.git] / gdb / gdbserver / server.h
index dbf31d58071b137dc3ae12d46cb04d666af5b8a5..91d4080d55e1f69b414bbc0679b921255f295619 100644 (file)
@@ -86,6 +86,17 @@ extern int run_once;
 extern int multi_process;
 extern int non_stop;
 
+/* True if the "swbreak+" feature is active.  In that case, GDB wants
+   us to report whether a trap is explained by a software breakpoint
+   and for the server to handle PC adjustment if necessary on this
+   target.  Only enabled if the target supports it.  */
+extern int swbreak_feature;
+
+/* True if the "hwbreak+" feature is active.  In that case, GDB wants
+   us to report whether a trap is explained by a hardware breakpoint.
+   Only enabled if the target supports it.  */
+extern int hwbreak_feature;
+
 extern int disable_randomization;
 
 #if USE_WIN32API
This page took 0.023563 seconds and 4 git commands to generate.