CLI argument to start the server at startup
This commit is contained in:
@@ -21,6 +21,12 @@ impl GdbServerWindow {
|
||||
server: GdbServer::new(sim_id, client),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn start(&mut self, port: u16) {
|
||||
self.server.stop();
|
||||
self.port_str = port.to_string();
|
||||
self.server.start(port);
|
||||
}
|
||||
}
|
||||
|
||||
impl AppWindow for GdbServerWindow {
|
||||
|
||||
Reference in New Issue
Block a user