changeset 126:99be03babde3

copy debug scripts from cmake sources
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Tue, 03 Dec 2019 09:42:38 +0900
parents f103beea19f4
children 46d792f92156
files src/CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/CMakeLists.txt	Tue Dec 03 09:32:33 2019 +0900
+++ b/src/CMakeLists.txt	Tue Dec 03 09:42:38 2019 +0900
@@ -117,6 +117,7 @@
   COMMAND "${XV6_OBJCOPY}" "-S" "-O" "binary" "--prefix-symbols=\"_binary_build/initcode\"" "${CMAKE_BEFORE_PROJECT_PATH}/kernel.dir/initcode.o" "initcode"
 )
 #file(COPY "${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/initcode.o.dir/initcode" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+file(COPY "${CMAKE_SOURCE_DIR}/debug.sh"  "${CMAKE_SOURCE_DIR}/run-debug.sh"  "${CMAKE_SOURCE_DIR}/connect.gdb" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
 
 
 GearsCommand (