From: Michael Stahl <mstahl@redhat.com>
To: gdb@gnu.org
Subject: Re: gdb 8.0 "lazy_string" exception "Length is larger than array size"
Date: Fri, 29 Sep 2017 15:06:00 -0000 [thread overview]
Message-ID: <oqlngn$9c9$1@blaine.gmane.org> (raw)
In-Reply-To: <28211a38-604b-a775-598b-677ddf46673a@redhat.com>
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!
prev parent reply other threads:[~2017-09-29 15:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-25 19:55 Michael Stahl
2017-09-26 7:56 ` Phil Muldoon
2017-09-26 8:06 ` Fwd: " Phil Muldoon
2017-09-26 10:30 ` Pedro Alves
2017-09-29 15:06 ` Michael Stahl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='oqlngn$9c9$1@blaine.gmane.org' \
--to=mstahl@redhat.com \
--cc=gdb@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox