Skip to content

undoio/addons

Repository files navigation

Build status

UDB Addons

A collection of add-on scripts and configuration to enhance the functionality provided by UDB (and, in some cases, also vanilla GDB).

Summary

Automatic symbol loading Loads all debug files in the specified directory.

Backtrace with time Adds a ubt command which adds basic block counts to frames within a backtrace.

Completion Adds completion of udb command line parameters in bash.

Count calls Counts how many times each function was called in the specificed period of time.

Follow fork Allows live-record to record both parent and child after fork() has been called.

Load Debug Symbols Loads debug symbols by parsing the relevant section addresses.

Reconstruct file Reconstructs the content of a file by analysing reads on the execution history of a debugged program or LiveRecorder recording.

Regs every bb Prints the values of all the registers at every basic block within a range.

Relative wallclock Prints an approximate wallclock time relative to the start of recording.

Reverse step map Executes a reverse-step-instruction, prints the instruction and, for each register used in it, prints which map is involved.

Sample functions Samples the number of times the program is in each function.

What map Looks up a variable or address within the maps of the debuggee.

Google Test annotations Example Google Test integration to annotate recordings with test status.

Development

Feel free to make a pull request against the project!

The master branch supports the latest release of UDB. The dev branch contains code meant for the next future release of UDB.