gdb: Introduce 'print max-depth' feature