]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - include/exec/gdbstub.h
Add the "-semihosting-config" option.
[thirdparty/qemu.git] / include / exec / gdbstub.h
index a608a26c30e29fa57409cfe4bd6856c4f4a5145a..c6332489a70ec82fa9ed1525c0b0cc97b37387da 100644 (file)
@@ -95,4 +95,10 @@ extern bool gdb_has_xml;
 /* in gdbstub-xml.c, generated by scripts/feature_to_c.sh */
 extern const char *const xml_builtin[][2];
 
+/* Command line option defining whether semihosting should go via gdb or not */
+extern int semihosting_target;
+#define SEMIHOSTING_TARGET_AUTO     0
+#define SEMIHOSTING_TARGET_NATIVE   1
+#define SEMIHOSTING_TARGET_GDB      2
+
 #endif