- DBGHELP_NOLIVE env variable is tested earlier to avoid
some strange effects in live target detection
- in WineDbg, delete DBGHELP_NOLIVE before attaching to
a process, because we know it must be a live target
- split dbg_main_loop in two parts (one for finishing the debuggee
attachment, the second one really for handling the main loop)
- removed now longer needed dbg_main_loop
- added -minidump and -minidump <file> options to command line
Those options are to be used in remplacement of --auto to create a minidump
In the form --minidump <file>, the minidump will be created in <file>,
otherwise the filename will be automatically generated.
- rewrote auto mode as a specific set of commands to be run in
regular parser, instead of hard coding those commands
- added a new function to store a set of commands to be executed
in a file
- added 'echo' command to the parser functions
- got rid of dbg_action_mode
- added support of '--' on command line