This is an ancient debugger for C, C++ and Fortran. The original project page is http://ups.sourceforge.net/.
It has only seen marginal changes in the last 10 years, but still kind of works.
This repository is a git conversion of the original CVS repository hosted
at SourceForge. It additionally contains minor modifications and ugly
hacks to make ups
work with modern code in more cases.
It uses your system's libelf
, libdwarf
and libiberty
, so make sure you
have these libraries and also their header files installed. ups
is then
compiled with autotools
sudo apt-get install libelf-dev libdwarf-dev libiberty-dev
./configure --enable-dwarf --enable-elf --enable-longlong
make
Make sure you compile your programs without optimizations, with debugging information in "dwarf" format enabled and not as a position independent executable:
gcc -gdwarf -no-pie -o test test.c
ups/ups ./test
For more information see the original README file, the website, and the various other documentation files in the repository.