https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88037
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Christian Walther from comment #0) > + # multigigabyte string would run GDB out of memory. > + return ptr.string(length = 100) + ('... (length: %d)' % length) Instead of 100 here we should use gdb.parameter("print elements")