Gareth McMullin
0433d3d12a
cortexm: Moved all static data to the heap.
2012-07-05 21:26:26 +12:00
Gareth McMullin
00c4dbfb11
ADIv5 AP and DP are now allocated on the heap and reference counted.
...
They are unref'd and free'd automatically when the target list is
destroyed.
2012-07-05 19:23:28 +12:00
Gareth McMullin
d64cec686a
Signal on halt is now returned by target_halt_wait().
...
Fault unwinding is now handled internally in target implementation.
GDB server doesn't need to know about it.
2012-06-30 20:29:08 +12:00
Gareth McMullin
466bb66424
Made cur_target, last_target static in gdb_main.c.
...
Added target destroy notify mechanism.
2012-06-27 21:26:08 +12:00
Gareth McMullin
03fdd23e9c
Added mechanism for target driver to add new monitor commands.
2012-06-24 21:41:32 +12:00
Gareth McMullin
a16123997b
Added target.c for common target routines.
2012-06-24 19:08:49 +12:00
Gareth McMullin
c09cbe8719
First cut at an Atmel SAM3X driver.
2012-06-22 23:13:25 +12:00
Gareth McMullin
6089a66dce
Renamed target_flash_write_words to target_flash_write.
...
Buffer from GDB may not be aligned or integer number of words.
Corrected alignment in in STM32F1 driver.
2012-06-18 20:53:06 +12:00
Gareth McMullin
bc7e7d2112
Removed target header files containing a single prototype.
...
Target probe prototypes are all in target.h now.
2012-06-18 20:27:06 +12:00
Mike Smith
bc4c87e45b
Add support for Cortex-M0, and specifically for the NXP LPC11xx devices.
2011-12-26 02:34:45 -08:00
Mike Smith
ffda30f393
Add support for a more comprehensive target description, including the additional v7m registers.
...
This doesn't work with vanilla gdb, as for reasons unknown said vanilla gdb doesn't support XML target descriptions queried from the remote.
Add code to the fault unwinder to deal with the stack alignment fixup and FP registers. Avoid saving/restoring registers that don't get trashed.
2011-11-25 17:07:46 -08:00
Gareth McMullin
c9ea16312b
Added more ARM7TDMI functions. Still not usable.
2011-03-12 21:03:42 +13:00
Gareth McMullin
32cabac0f3
Stack is now unwound on hardfault.
2011-02-21 20:57:56 +13:00
Gareth McMullin
406617a2a4
Import of working source tree.
2011-02-04 20:23:52 +13:00