From d4776cf62803bb514df68d97874fcb615d53d247 Mon Sep 17 00:00:00 2001 From: Lars Rademacher Date: Wed, 30 Oct 2013 12:53:36 +0100 Subject: [PATCH] panda: fix in breakpoints aspect Halt condition type not properly set Change-Id: I17c780216606b89a7c8a0ace03ac3788582d95ac --- src/core/sal/panda/PandaBreakpoints.ah | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/core/sal/panda/PandaBreakpoints.ah b/src/core/sal/panda/PandaBreakpoints.ah index 7a7d968f..961a8a37 100644 --- a/src/core/sal/panda/PandaBreakpoints.ah +++ b/src/core/sal/panda/PandaBreakpoints.ah @@ -38,36 +38,11 @@ aspect PandaBreakpoints } else { hc.type = HALT_TYPE_BP; } - hc.type = HALT_TYPE_BP; hc.address = m_WatchInstrPtr; hc.addr_len= 4; // Thumb? => 2 oocdw_delete_halt_condition(&hc); } }; - -#if defined(CONFIG_EVENT_BREAKPOINTS_RANGE) - #error Range Breakpoints not yet implemented for Pandaboard - - advice "fail::BPRangeListener" : slice class - { - public: - bool onAddition() - { - // Calculate address range - address_t range = m_WatchEndAddr - m_WatchStartAddr; // range / sizeof(address_t) ??! - - // ToDo: Setup MMU to watch address range - } - - void onDeletion() - { - // Calculate address range - address_t range = m_WatchEndAddr - m_WatchStartAddr; // range / sizeof(address_t) ??! - - // ToDo: Setup MMU to no longer watch address range - } - }; -#endif // CONFIG_EVENT_BREAKPOINTS_RANGE }; #endif // BUILD_PANDA && CONFIG_EVENT_BREAKPOINTS