cd binutils-gdb
./configure
cd gdb
./configure
cd doc
make html MAKEINFO=makeinfo MAKEINFOFLAGS='--no-split'
ls *.html
This assumes that you have makeinfo installed; that should be something like apt-get install texinfo on debian-like systems.