Daniel Beer
fc808485c2
Allow the default input radix to be specified (iradix).
2010-10-12 11:26:36 +13:00
Daniel Beer
4a9b89a1ee
gdb: remove prog buffering.
2010-09-13 10:43:40 +12:00
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
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
Robert Spanton
30c3d8e6f1
Inform gdb of the maximum packet size.
...
Reply to gdb's 'qSupported' query. Tell it that we can receive packets
up to MAX_MEM_XFER * 2 bytes long. This significantly speeds up
programming a device from gdb.
2010-08-16 11:13:39 +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
984ffe6e88
Separate option database.
2010-08-13 15:14:15 +12:00
Daniel Beer
0120b146ae
Create default device to avoid carrying around device_t.
2010-08-13 12:25:49 +12:00
Daniel Beer
c5d723e5d9
gdb: use address_t, drop high bytes from register values.
2010-08-05 16:44:41 +12:00
Daniel Beer
5b2c75563d
Device interface and drivers are now 32-bit clean.
2010-08-05 14:43:07 +12:00
Daniel Beer
31cfaf213b
Report halts to gdb as being caused by SIGTRAP.
...
Reporting a signal number of 0 causes strange behaviour from gdb when
restarting from a breakpoint.
2010-07-27 16:54:08 +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
2d76eb0184
gdb: allow larger data transfers.
2010-07-02 09:56:16 +12:00
Daniel Beer
ccc5df8fd9
Added "gdb_loop" option.
2010-06-15 14:51:12 +12:00
Daniel Beer
b8a3ef41c7
Use stdint.h instead of sys/types.h.
2010-05-13 12:57:21 +12:00
Daniel Beer
f4fcd0c909
gdb: implement breakpoint support
2010-05-12 18:17:12 +12:00
Daniel Beer
c582a3513d
gdb: fixed bug when reporting run errors
2010-05-12 17:43:30 +12:00
Daniel Beer
dcc1874434
Fixed bug in gdb monitor command.
2010-05-12 17:28:59 +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
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
Daniel Beer
ceb78ff053
Commands are now registered by each module.
2010-03-31 19:36:53 +13:00
Daniel Beer
ae1006f3ea
gdb: can now interrupt execution on both sides
2010-03-23 14:37:53 +13:00
Daniel Beer
1fea148de4
gdb: reuse socket to avoid long waits between sessions.
2010-03-23 13:42:44 +13:00
Daniel Beer
4d0a23954f
gdb: fix single stepping, memory read reply error
2010-03-23 13:38:14 +13:00
Daniel Beer
39a4c5806b
Implemented basic gdb support.
...
Tested only with simulation mode -- real devices need testing.
2010-03-22 19:12:51 +13:00