Subject: Re: bug#5973: Crash in get_next_display_element

From: Eli Zaretskii <[email-masked]>
Date: Tue, 20 Apr 2010 15:23:28 +0300

> From: Juanma Barranquero <[email-masked]>
> Date: Tue, 20 Apr 2010 12:33:27 +0200
> Cc: [email-masked]
> 
> (gdb) p *buffer->text->beg@34
> $2 = "Loading c:/Devel/emacs/repo/debug/"

How about this?

  (gdb) p *buffer->text->beg@86

> (gdb) p buffer->text->zv
> There is no member named zv.
> (gdb) p buffer->text->zv_byte
> There is no member named zv_byte.
> (gdb) p buffer->text->pt
> There is no member named pt.
> (gdb) p buffer->text->pt_byte
> There is no member named pt_byte.

Sorry, copy/paste mistakes.  Please try these instead:

  (gdb) p buffer->zv
  (gdb) p buffer->zv_byte
  (gdb) p buffer->pt
  (gdb) p buffer->pt_byte

Thanks.