summary refs log tree commit diff stats
path: root/include/exec/gdbstub.h
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2024-06-20 16:22:10 +0100
committerAlex Bennée <alex.bennee@linaro.org>2024-06-24 10:14:17 +0100
commit5b7d54d4ed7857b8b27fb040c6027ba59e003889 (patch)
treeeef845c7178f84a97a3a3cb8589d158c715da58d /include/exec/gdbstub.h
parentb31bf9f8f72477742615888e78ab07845574e19c (diff)
downloadfocaccia-qemu-5b7d54d4ed7857b8b27fb040c6027ba59e003889.tar.gz
focaccia-qemu-5b7d54d4ed7857b8b27fb040c6027ba59e003889.zip
gdbstub: move enums into separate header
This is an experiment to further reduce the amount we throw into the
exec headers. It might not be as useful as I initially thought because
just under half of the users also need gdbserver_start().

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240620152220.2192768-3-alex.bennee@linaro.org>
Diffstat (limited to 'include/exec/gdbstub.h')
-rw-r--r--include/exec/gdbstub.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/exec/gdbstub.h b/include/exec/gdbstub.h
index 008a92198a..1bd2c4ec2a 100644
--- a/include/exec/gdbstub.h
+++ b/include/exec/gdbstub.h
@@ -1,15 +1,6 @@
 #ifndef GDBSTUB_H
 #define GDBSTUB_H
 
-#define DEFAULT_GDBSTUB_PORT "1234"
-
-/* GDB breakpoint/watchpoint types */
-#define GDB_BREAKPOINT_SW        0
-#define GDB_BREAKPOINT_HW        1
-#define GDB_WATCHPOINT_WRITE     2
-#define GDB_WATCHPOINT_READ      3
-#define GDB_WATCHPOINT_ACCESS    4
-
 typedef struct GDBFeature {
     const char *xmlname;
     const char *xml;