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