diff options
author | Chris Johns <chrisj@rtems.org> | 2019-06-25 21:07:40 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-07-31 08:33:05 +1000 |
commit | cb1e8497dff1b26c11fff6881eaf4fb93c39f151 (patch) | |
tree | c69db9cfe6fc338c24b23a5e2d63e7690b515429 /cpukit/libdebugger/rtems-debugger-server.c | |
parent | arm: Select the TLB invalidate based on the core's Id variant. (diff) | |
download | rtems-cb1e8497dff1b26c11fff6881eaf4fb93c39f151.tar.bz2 |
libdebugger: ARM fixes for Cortex-A8 and ARM mode.
- Fix destorying the target and thread parts.
- Fix the ARM backend to support Cortex-A8 and ARM mode code.
- Use the DBGDSCR interrupt mask when single stepping.
- Use the DBGDSCR method of entry to debug mode to filter the
execptions.
- Add support for BSPs to control the ARM backend.
Diffstat (limited to 'cpukit/libdebugger/rtems-debugger-server.c')
-rw-r--r-- | cpukit/libdebugger/rtems-debugger-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libdebugger/rtems-debugger-server.c b/cpukit/libdebugger/rtems-debugger-server.c index de841292cb..975ec23a30 100644 --- a/cpukit/libdebugger/rtems-debugger-server.c +++ b/cpukit/libdebugger/rtems-debugger-server.c @@ -1704,13 +1704,13 @@ rtems_debugger_session(void) r = rtems_debugger_target_create(); if (r < 0) { - rtems_debugger_thread_destroy(); rtems_debugger_unlock(); return r; } r = rtems_debugger_thread_create(); if (r < 0) { + rtems_debugger_target_destroy(); rtems_debugger_unlock(); return r; } @@ -1725,8 +1725,8 @@ rtems_debugger_session(void) 0, &rtems_debugger->events_task); if (r < 0) { - rtems_debugger_target_destroy(); rtems_debugger_thread_destroy(); + rtems_debugger_target_destroy(); rtems_debugger_unlock(); return r; } |