KMD is a graphical universal debugger.
Version: 0.9.19KMD is a graphical debugger written by me for The University of Manchester Computer Science Department.
Operating System: Linux
It can debug hardware over serial ports such as the Manchester ARM Board or with software emulators (ARM and MIPS emulators are included in the project). Using the pipe option you can debug over the network or any other communication medium.
It can load many executable formats such as ELF and display and follow the original source even from multiple source file programs. There is support for breakpoints and watchpoints which can trap specific instructions (such as loading or executing specific instructions).
Support for other features such as FPGA's is also available, allowing loading or any control required to drive a specific hardware device. The project uses chump to allow disassembly and line assembly.
Chump also allows new architectures to be easily added without the need to recompile the system. Communication with the backend is done using two pipes/fifos using a simple set of codes. Back end communication program can be created using very little memory on the target device.
Download the latest version of KMD. unzip the archive with
tar zxf KMD-latest.tar.gz
Enter the KMD directory
Run the configure script
The compiled programs should be in the src directory
Run KMD and specify that you are running with the defauit configuration file (-i)
and using an emulator called jimulator which is an ARM emulator (-e ./jimulator)
./kmd -i -e ./jimulator
KMD requires the following libraries:
- GLib - Provides many useful data types, macros, type conversions, string utilities and a lexical scanner.
- GDK - A wrapper for low-level windowing functions.
- GTK - An advanced widget set.
- BFD - the Binary File Descriptor Library. (BFD comes with GCC or binutils)