From aa0634c2e729acbabc133805680241fbbcaa85b8 Mon Sep 17 00:00:00 2001 From: primardj Date: Tue, 16 Apr 2024 20:20:48 +0100 Subject: [PATCH] add command c --- .../sv-rustit/src/executor/execute_service/sent_signal.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/01_phase_rust_src/sv-rustit/src/executor/execute_service/sent_signal.rs b/01_phase_rust_src/sv-rustit/src/executor/execute_service/sent_signal.rs index dcec44d..3448f3a 100644 --- a/01_phase_rust_src/sv-rustit/src/executor/execute_service/sent_signal.rs +++ b/01_phase_rust_src/sv-rustit/src/executor/execute_service/sent_signal.rs @@ -27,6 +27,10 @@ pub fn sent_signal( svwait_var: i32, verbose: i8, command: &str, mut sv: status_ // case where it's the pause command which is entered. return misc::pause_verbose(sv.sent_signal(b"p"), true, verbose, svwait_var, sv); } + "c" => { + // case where it's the continue command which is entered. + return misc::pause_verbose(sv.sent_signal(b"c"), false, verbose, svwait_var, sv); + } other => { println!("Error, command {} not implemented.", other); // TODO : Put the real error // message.