cmd/viewcore: interactive mode support
This change implements an interactive mode and restructures the command
line so that the corefile argument is the first argument.
The following command starts an interactive shell for analysis of the
Providing a command in the following form, the viewcore invokes the
command directly rather than starting the interactive mode.
viewcore <corefile> <command>
This change uses github.com/chzyer/readline to provide shell-like
functionality. (TODO: vendor the package for reproducible build)
Reviewed-by: Heschi Kreinick <firstname.lastname@example.org>
Reviewed-by: Keith Randall <email@example.com>
1 file changed