Commit Graph

153 Commits

Author SHA1 Message Date
4dd7dba8d5 Replace config file expects with anyhow 2022-10-23 17:26:57 -05:00
ffba679046 Move PeekSize and PeekFormat to their own file 2022-10-23 17:20:34 -05:00
4aec215c9f Switch to anyhow and thiserror 2022-10-23 17:18:32 -05:00
7782b66582 Remove unused import in error.rs 2022-10-23 07:33:52 -05:00
34bca32240 Upgrade to elf v0.3.1 2022-10-22 18:54:47 -05:00
71173a0ed0 Replace intersperse with join 2022-10-21 19:38:00 -05:00
ef65bf52fc Extract common parts of (Breakpoint/Symbol)Displayers 2022-10-21 19:36:08 -05:00
4134a302a9 Rework symbol and breakpoint displaying 2022-10-21 08:18:18 -05:00
943ac2b593 Cleanup sym command 2022-10-20 14:51:06 -05:00
e62bcd261a Refactor SymbolTables 2022-10-20 14:42:08 -05:00
4665d11279 Extract SymbolTable to separate file 2022-10-20 11:29:06 -05:00
41106f4c3a Add SymbolTable::{new,update_symbols} 2022-10-20 11:27:20 -05:00
1ce64cb2f8 Simplify address_to_symbol 2022-10-20 08:03:14 -05:00
751515acfc Switch to indexmap 2022-10-19 22:20:26 -05:00
0731dd6bba Add support for showing symbol name + offset next to PC address 2022-10-19 14:01:27 -05:00
9ebbee1933 Add support for activating and deactivating symbol tables 2022-10-19 13:10:48 -05:00
0ba9936f07 Add ability to delete symbol tables 2022-10-19 12:36:13 -05:00
57f7c0fabe Fix sym --append not requiring file name 2022-10-19 10:29:06 -05:00
e0fbebfbc3 Add ability to delete breakpoints 2022-10-19 10:27:52 -05:00
2f343b3772 Fix the blank line when there are no breakpoints or symbols 2022-10-19 08:18:24 -05:00
a1920fdcfa Replace get(..).unwrap() with indexing 2022-10-18 19:14:28 -05:00
f6e5ce39d2 Remove left in debug statement 2022-10-18 17:22:52 -05:00
cb8765d042 Add command to set and list breakpoints 2022-10-18 17:21:35 -05:00
1775c318bc Switch to LinkedHashSet fir storing breakpoints 2022-10-18 17:19:43 -05:00
d782b79a1f Add missing Debug impls 2022-10-18 17:19:02 -05:00
e8afb395a0 Add breakpoint support to run 2022-10-18 17:04:01 -05:00
8519773426 Add breakpoint data structures 2022-10-18 16:57:47 -05:00
9efa91cf8f Switch to LinkedHashMap 2022-10-18 15:31:47 -05:00
e932bf3de5 Add struct representing emulator config 2022-10-18 12:21:44 -05:00
c508062168 Extract code from main.rs to separate files 2022-10-18 10:56:08 -05:00
615c3cfd8b Change load_symbol table to only read the symbol table from file 2022-10-18 07:30:34 -05:00
7546099c1f Make a type alias for the symbol tables 2022-10-17 16:19:36 -05:00
4caa5d2fdc Refactor parse_location 2022-10-17 16:17:09 -05:00
c6b152a6cf Remove append option from load_symbol_table 2022-10-17 16:09:17 -05:00
690a8b366b Update to elf v0.1.0 2022-10-17 15:48:55 -05:00
6c70bdbf9e Move pdf files to own directory 2022-10-17 10:47:23 -05:00
d3123e97a5 Add support for loading symbol tables on startup 2022-10-17 10:46:52 -05:00
9b3ee444de Move ROM to own directory 2022-10-17 10:44:02 -05:00
a2f62187c1 Change ROM build to use GNU binutils 2022-10-17 10:42:38 -05:00
366fd04745 Add command to resolve a location to an address 2022-10-17 10:04:49 -05:00
5c7a49342d Rework symbol table storage 2022-10-17 10:04:18 -05:00
a68e189f35 Filter out useless symbols 2022-10-12 16:47:12 -05:00
2ee7f27b32 Add support for listing symbols 2022-10-12 16:18:45 -05:00
4a0ad44276 Add support for loading multiple symbol tables 2022-10-12 15:55:08 -05:00
aa05308d1e Add symbol support to disas and peek 2022-10-12 15:52:13 -05:00
0d78a8399d Extract address parsing code to dedicated function 2022-10-12 15:41:43 -05:00
bd7670cf8b Merge branch 'master' of github.com:pjht/m68k_emu 2022-10-12 12:44:11 -05:00
f4f8890a5d Change to latest git comit of elf crate, add basic symbol support to run, and format code 2022-10-12 12:44:03 -05:00
pjht
a43aff7d28
Remove unnecessary doc comment from PeekFormat::format 2022-10-12 12:41:40 -05:00
1ecd6083a6 Add symbol table load command 2022-10-11 17:27:08 -05:00