When gdb runs it sets its initial display size to that of the hosting terminal, ie so as to paginate after a screenful and to wrap lines on the right edge. After resizing the terminal I can manually reset these values, e.g.:
set width 140 set height 80
but this "read numbers in one place, type them into another" begs for automation. I had hoped that out-of-range values (set width -1) or commands like "refresh" would trigger a reset but I've yet to find anything.
If there is no in-built support then I (wildly) guess a python script could do this?
[EDIT: using GNU gdb (GDB) 7.6.1-ubuntu on Mint(Mate) 16, no interesting customisations]