if you use gdb, you can tap into the src/.gdbinit and its "x" and "p" commands.