Add support for single-stepping waves over the command line
The first commit fixes some segfaults I found while implementing the second. umr_scan_wave_slot looks up some register names in wd->reg_names
, so they need to be valid instead of being memset
to NULL
.
The second commit moves the singlestepping functionality to a common file and adds a command-line option for it.