Add support for moar commands
This commit is contained in:
		
							parent
							
								
									014b9ebbfa
								
							
						
					
					
						commit
						b94ae4d586
					
				| 
						 | 
				
			
			@ -1754,6 +1754,7 @@ dependencies = [
 | 
			
		|||
 "egui-winit",
 | 
			
		||||
 "egui_extras",
 | 
			
		||||
 "gilrs",
 | 
			
		||||
 "hex",
 | 
			
		||||
 "image",
 | 
			
		||||
 "itertools",
 | 
			
		||||
 "num-derive",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,7 @@ egui-toast = { git = "https://github.com/urholaukkarinen/egui-toast.git", rev =
 | 
			
		|||
egui-winit = "0.30"
 | 
			
		||||
egui-wgpu = { version = "0.30", features = ["winit"] }
 | 
			
		||||
gilrs = { version = "0.11", features = ["serde-serialize"] }
 | 
			
		||||
hex = "0.4"
 | 
			
		||||
image = { version = "0.25", default-features = false, features = ["png"] }
 | 
			
		||||
itertools = "0.13"
 | 
			
		||||
num-derive = "0.4"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -162,6 +162,19 @@ impl GdbConnection {
 | 
			
		|||
            if body == "QStartNoAckMode" {
 | 
			
		||||
                self.ack_messages = false;
 | 
			
		||||
                res.send_ok().await?;
 | 
			
		||||
            } else if body.starts_with("qSupported:") {
 | 
			
		||||
                res.write_str("multiprocess+;swbreak+;vContSupported+")
 | 
			
		||||
                    .await?;
 | 
			
		||||
                res.send().await?;
 | 
			
		||||
            } else if body == "QThreadSuffixSupported" || body == "QListThreadsInStopReply" {
 | 
			
		||||
                res.send_ok().await?;
 | 
			
		||||
            } else if body == "qHostInfo" || body == "qProcessInfo" {
 | 
			
		||||
                res.write_str(&format!(
 | 
			
		||||
                    "triple:{};endian:little;ptrsize:4;",
 | 
			
		||||
                    hex::encode("v810-unknown-vb")
 | 
			
		||||
                ))
 | 
			
		||||
                .await?;
 | 
			
		||||
                res.send().await?;
 | 
			
		||||
            } else if body == "k" {
 | 
			
		||||
                return Ok(());
 | 
			
		||||
            } else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue