Re: gdb 8.0 "lazy_string" exception "Length is larger than array size"

Michael Stahl <[email protected]>
Newsgroups gmane.comp.gdb.devel,gmane.comp.gdb.general
Message-ID <[email protected]>
On 26.09.2017 12:30, Pedro Alves wrote:

> If you want to ignore the array's declared length, I think you can
> always decay 'buffer' to a pointer and work with that, and then GDB
> won't have a length to validate.

thanks, replacing
 ['buffer']
with
 ['buffer'].address
in the pretty printer avoids the exception!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.