My .gdbinit

I put this in my ~/.gdbinit and it successfully refreshes the TUI after I use c and n, which were the commands usually causing TUI cruft in my case.

define c 
  continue
  refresh
end

define n
  next
  refresh
end
 

Source: https://stackoverflow.com/questions/38803783/how-to-automatically-refresh-gdb-in-tui-mode

No comments:

Post a Comment