0xricksanchez / like-dbg

Fully dockerized Linux kernel debugging environment
MIT License
737 stars 58 forks source link

Only rebuild if custom_gdb_script contents changed across runs #40

Closed 0xricksanchez closed 2 years ago

0xricksanchez commented 2 years ago

Setting manual toggles for rebuilds in the config.ini that forces rebuilding (which is required) for changes in io/scripts/gdb_script to take effect inside the debugger container is tedious. A PR for this should introduce a "watcher" that automatically rebuilds the debugger (basically only executes the COPY at the end of the respective dockerfile) IFF the contents of the aforementioned gdb script changed compared to the prior run. If force_rebuild is toggled on for the debugger in config.ini rebuilding always takes place.

0xricksanchez commented 2 years ago

Should be fixed with #53