Skip to content

GDB Tui extension to provide Locals and Expressions windows

License

Notifications You must be signed in to change notification settings

buxtonpaul/gdbwatches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gdbwatches

GDB Tui extension to provide Locals and Expressions windows

Add it to your gdb session by enabling tui and sourceing the script e.g.

tui enable
source gdbwatches.py

It will automatically add windows called watches and locals, as well as a layout called watchvars. The layout will be switched to automatically.

Adding watches is done by the function addwatch to add an expression to watch Removing watches uses the removewatch function, passing the index to use.

screenshot This requires a recent version of GDB compiled with Python support Current released version (10.1) is broken with custom layouts, but the version in git has been fixed and you can pull in the fix from tui-layout.c from the gdb-10-branch

About

GDB Tui extension to provide Locals and Expressions windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages