2.1 Overview: Debug connections in DS-5 Debugger
You can set up connections to debug bare-metal targets, Linux kernel, and Linux or Android applications. You can also use the Snapshot Viewer feature to view previously captured application states.
Bare-metal debug connections
Bare-metal targets run without an underlying operating system. To
debug bare-metal targets using DS-5 Debugger:
- If debugging on hardware, use a debug hardware adapter connected
to the host workstation and the debug target.
- If debugging on a model, use a CADI-compliant connection between
the debugger and a model.
- For RTL simulators and hardware emulators, use VSTREAM to
Linux kernel debug connections
DS-5 Debugger supports
source-level debugging of a Linux kernel. For example, you can set breakpoints in
the kernel code, step through the source, inspect the call stack, and watch
variables. The connection methodology is similar to bare-metal debug
Linux application debug connections
For Linux application debugging in DS-5 Debugger, you can connect to your
target using TCP/IP or serial connection.
Before attempting to connect to your target, you need to ensure
Use the Snapshot Viewer
analyze and debug a read-only representation of the application state of your
processor using previously captured data. For more information, see Chapter 9 Working with the Snapshot Viewer
This is useful in scenarios where interactive debugging with a target
is not possible.