From b431b2605aa8afef49294877e2b4c3296eead5af Mon Sep 17 00:00:00 2001 From: Michel Heily Date: Tue, 13 Sep 2022 00:09:55 +0300 Subject: [PATCH] arm7tdmi: examples: fix paths Former-commit-id: 533b97320b14e550b5aa0d2783fb087fe2616f9e Former-commit-id: 024b23ced88fc85c29ca8c350c0d46af3f5a496d --- arm7tdmi/examples/simple_emulator.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arm7tdmi/examples/simple_emulator.rs b/arm7tdmi/examples/simple_emulator.rs index a12b1d1..aa31572 100644 --- a/arm7tdmi/examples/simple_emulator.rs +++ b/arm7tdmi/examples/simple_emulator.rs @@ -83,7 +83,7 @@ impl run_blocking::BlockingEventLoop for SimpleEmulator { fn main() -> Result<(), Box> { SimpleLogger::new().env().init().unwrap(); - let mut emulator = SimpleEmulator::new(include_bytes!("test_program/example.bin")); + let mut emulator = SimpleEmulator::new(include_bytes!("test_program/test.bin")); let conn: Box> = Box::new(wait_for_connection(1337)?); let gdb = GdbStub::new(conn); @@ -102,8 +102,8 @@ mod test { #[test] fn test_breakpoint() -> Result<(), Box> { - let mut emulator = SimpleEmulator::new(include_bytes!("test_program/example.bin")); - let symbol_map = read_symbols(include_bytes!("test_program/example.elf"))?; + let mut emulator = SimpleEmulator::new(include_bytes!("test_program/test.bin")); + let symbol_map = read_symbols(include_bytes!("test_program/test.elf"))?; let breakpoint_addr = *symbol_map.get("breakpoint_on_me").unwrap(); println!("breakpoint_addr = {:08x}", breakpoint_addr); let breakpoint_counter_addr = *symbol_map.get("breakpoint_count").unwrap();