Commit Graph

31 Commits

Author SHA1 Message Date
Daniel Beer 479b0b2a9f Align flash writes to word boundaries.
The FET silently drops flash memory write requests which are not
address or length aligned to a word boundary.

Based on a patch by Sören Höckner <soeren.hoeckner@gmx.de>.
2010-09-10 12:52:47 +12:00
Daniel Beer 7e04f8b776 Removed unnecessary programming boundary. 2010-09-06 15:55:53 +12: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 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
Daniel Beer 6dd1ab25c3 Separated command database. 2010-08-13 16:06:23 +12:00
Daniel Beer e834241e90 Separated and simplified output processing. 2010-08-13 15:45:08 +12:00
Daniel Beer 0120b146ae Create default device to avoid carrying around device_t. 2010-08-13 12:25:49 +12:00
Daniel Beer 4cc81497af Create default stab to avoid carrying around stab_t. 2010-08-13 12:12:50 +12:00
Daniel Beer bc992661cf Fixed buffer overflow bug in "dis". 2010-08-10 14:03:56 +12:00
Daniel Beer b9356d2cad Commands now support 20-bit memory range. 2010-08-05 16:38:05 +12:00
Daniel Beer 9ecf177655 Binary file interface is now 32-bit clean. 2010-08-05 16:12:35 +12:00
Daniel Beer 5b2c75563d Device interface and drivers are now 32-bit clean. 2010-08-05 14:43:07 +12:00
Daniel Beer 137329cc13 Symbol table and address expressions are now 32-bit clean. 2010-08-05 13:59:33 +12:00
Daniel Beer 383013b37e Step over the current breakpoint when restarting with "run". 2010-07-27 16:53:44 +12:00
Daniel Beer 3f6d8f91ad Moved breakpoint table into device base structure.
Breakpoints only ever change by debugger control, so there's no point
having a device-dependent "getbrk" method. Breakpoint update need only
be done before starting the device running.
2010-07-27 13:08:21 +12:00
Daniel Beer 74a11c1ae0 Implemented support for multiple breakpoints. 2010-07-02 14:22:52 +12:00
Daniel Beer 6ad23b49f5 Allow loading from ELF32 files with incorrect machine types. 2010-05-27 13:58:59 +12:00
Daniel Beer ea7be28f18 Fixed register name parsing. 2010-05-22 16:17:06 +12:00
Daniel Beer d9e42457f5 Unified binfile interface. 2010-05-15 15:13:58 +12:00
Daniel Beer 2a7a7189ae Don't disassemble beyond end of memory when showing regs. 2010-05-13 16:57:32 +12:00
Daniel Beer b8a3ef41c7 Use stdint.h instead of sys/types.h. 2010-05-13 12:57:21 +12:00
Daniel Beer ca3e5dd645 Symbol table is an object. 2010-05-01 18:34:43 +12:00
Daniel Beer 2794165dee Separated address expression parsing. 2010-05-01 17:54:10 +12:00
Daniel Beer 0cd82ffc48 Removed remaining static data from device commands. 2010-04-30 21:53:58 +12:00
Daniel Beer 204aa31291 Device drivers are now objects. 2010-04-30 16:01:03 +12:00
Daniel Beer ba6e3366ff Command processor is now an object. 2010-04-21 16:56:56 +12:00
Daniel Beer 90d39a96f5 Move some unrelated functions out of parse.c 2010-04-21 14:12:12 +12:00
Daniel Beer 40d299d001 Colorize some more output. 2010-04-10 16:41:57 +12:00
Daniel Beer 8758d8bc28 Separated parsing from util. 2010-04-10 15:02:14 +12:00
Daniel Beer 7e309acdc5 Separated device commands. 2010-04-10 14:35:36 +12:00