gdb: Prepare watchpoints_t data structure
authorJakob Gruber <jakob.gruber@gmail.com>
Fri, 13 Jul 2012 14:25:27 +0000 (16:25 +0200)
committerJakob Gruber <jakob.gruber@gmail.com>
Sun, 15 Jul 2012 21:26:44 +0000 (23:26 +0200)
commitd15b56e87c0e485017ad441462de916627f0cc9f
tree2b8b270674aab7f30cb628ad71e16822b72908bf
parente7d318246283b69cef48397d67c75f7a6137ca12
gdb: Prepare watchpoints_t data structure

In preparation for the watchpoint implementation define an
avr_gdb_watchpoints_t struct to handle both. The struct is only accessed
through gdb_watch_* functions, therefore changing its internals should
be easy.

Note that this implementation cannot handle different watchpoints at the
same address with a different size.

The avr_gdb_watch_type enum is public and will be used in sim_core.c in
a follow-up commit.
simavr/sim/sim_gdb.c
simavr/sim/sim_gdb.h