diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2022-01-26 10:57:49 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2022-02-23 08:35:45 -0600 |
commit | 3317d1e8f0be3b14d94d356ad8437db07c5cd7cb (patch) | |
tree | 6fc50eda803d188f625610210c10261723cff729 /spec | |
parent | cpukit/libdebugger: Avoid cascade for interrupts (diff) | |
download | rtems-3317d1e8f0be3b14d94d356ad8437db07c5cd7cb.tar.bz2 |
cpukit/libdebugger: Add MicroBlaze support
Add MicroBlaze support for libdebugger. This uses only software break
type instructions to provide self-hosted GDB debugging support for
applications since internal control of debug hardware is not possible.
Also of note, this implementation for MicroBlaze would typically use the
brki instruction for software break, but instead uses an illegal opcode
to manage software breaks as exceptions. This is due to poor interaction
with the debug hardware where the debug hardware will intercept software
breaks instead of allowing the software break vector to execute.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/build/cpukit/libdebugger.yml | 2 | ||||
-rw-r--r-- | spec/build/cpukit/objdbgmicroblaze.yml | 15 | ||||
-rw-r--r-- | spec/build/cpukit/optlibdebugger.yml | 1 |
3 files changed, 18 insertions, 0 deletions
diff --git a/spec/build/cpukit/libdebugger.yml b/spec/build/cpukit/libdebugger.yml index 9b50adbe77..263a4994f0 100644 --- a/spec/build/cpukit/libdebugger.yml +++ b/spec/build/cpukit/libdebugger.yml @@ -16,6 +16,8 @@ links: uid: objdbgarm - role: build-dependency uid: objdbgi386 +- role: build-dependency + uid: objdbgmicroblaze source: - cpukit/libdebugger/rtems-debugger-block.c - cpukit/libdebugger/rtems-debugger-bsp.c diff --git a/spec/build/cpukit/objdbgmicroblaze.yml b/spec/build/cpukit/objdbgmicroblaze.yml new file mode 100644 index 0000000000..59219ae507 --- /dev/null +++ b/spec/build/cpukit/objdbgmicroblaze.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2022 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: +- microblaze +includes: [] +install: [] +links: [] +source: +- cpukit/libdebugger/rtems-debugger-microblaze.c +type: build diff --git a/spec/build/cpukit/optlibdebugger.yml b/spec/build/cpukit/optlibdebugger.yml index a89a495528..c657db4ba4 100644 --- a/spec/build/cpukit/optlibdebugger.yml +++ b/spec/build/cpukit/optlibdebugger.yml @@ -12,6 +12,7 @@ enabled-by: - aarch64 - arm - i386 +- microblaze links: [] name: BUILD_LIBDEBUGGER type: build |