summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2022-08-27 15:12:08 +0300
committerOxore <oxore@protonmail.com>2022-08-27 15:13:13 +0300
commit9580a9a8daa4426914f396a694903ab880ecd3f2 (patch)
tree46394ea036316ffccf3357bcc35f1c18635ae890 /CMakeLists.txt
parent903b8dbcaad887f6e14cc8cffc22ddda08dc9f85 (diff)
Add initial gdbremote implementation
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d6456c7..6c5bc39 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,6 +18,7 @@ set(CMAKE_LINKER_FLAGS_DEBUG "${CMAKE_LINKER_FLAGS_DEBUG} -fsanitize=address -fn
set(emulator_sources
bus.cpp
emulator.cpp
+ gdbremote_parser.cpp
)
set(musashi_m68k_sources
musashi-m68k/m68kcpu.c
@@ -48,6 +49,12 @@ target_compile_definitions(emulator PRIVATE
DEBUG_TRACE_INSTRUCTIONS=1
)
+# Target for GDB Remote Debugging protocol implementation testing
+add_executable(gdbremote
+ gdbremote.cpp
+ gdbremote_parser.cpp
+ )
+
include_directories(
.
)