One unfortunate aspect of gdb is it doesn’t automatically copy new versions of the executable, or at least not that I could find. This can be handled by entering an ‘escaped’ command in gdb, which is ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results