Commit Graph

12 Commits

Author SHA1 Message Date
Tamas TEVESZ 45c1ba5dc8 Use tilde-expanded path in process_file(). 2011-08-02 13:11:53 +12:00
Tamas TEVESZ d045d8feec New expand_tilde() utility function
Add new `expand_tilde' utility function which substitutes
leading `~/' for the current user's home directory in path
names; NB: returns a new string the caller must free when
it's not needed anymore.
2011-07-29 08:57:08 +12:00
Tamas TEVESZ 457e5a6a3f Allow handling of ^[# on the command line. 2011-07-29 08:53:03 +12:00
Daniel Beer 07780ff11f Fixed error reporting for Win32. 2011-07-27 01:56:45 +12:00
Daniel Beer f6ecf7bd56 Implemented command aliases. 2011-04-04 17:09:11 +12:00
Daniel Beer b2d2da6cb6 Implemented repeat execution for reader.
Repeat execution is supported by the commands "step", "md" and "dis".
2010-10-12 12:48:25 +13:00
Daniel Beer 6d888fff25 Print commands as they're read from a file.
When using the "read" command, all commands executed are printed first,
so you can see what goes wrong, if anything.
2010-10-12 11:53:46 +13:00
Daniel Beer 99c478d37f Implemented "exit" command. 2010-10-12 11:44:46 +13:00
Daniel Beer 9c2ed8c5fc Introduced quiet mode option and command-line switch.
Based on a patch by Eric Decker <cire831@gmail.com>
2010-08-31 15:50:00 +12:00
Daniel Beer d512949d81 MSPDebug commands can now be issued from GDB.
The argument to the "monitor" command is now passed straight to the
reader, and the output is captured and fed back to GDB.
2010-08-17 11:47:47 +12:00
Daniel Beer 87f89adc44 All output now goes through buffering/filtering.
The following substitutions have been made:

    printf -> printc
    fprintf(stderr, ...) -> printc_err(...)
    perror -> pr_error
2010-08-17 11:07:03 +12:00
Daniel Beer 9a4ef8a909 Simplified command reader. 2010-08-13 16:40:58 +12:00
Renamed from cproc.c (Browse further)