debuginfo: Adapt GDB test scripts for GDB 7.4