RE: [PATCH v2 1/2] record: set stop_pc in "record goto" command

Metzger, Markus T
2015-07-13T07:39:08Z

> -----Original Message-----
> From: Pedro Alves [mailto:palves@redhat.com]
> Sent: Thursday, July 9, 2015 12:38 PM
> To: Metzger, Markus T
> Cc: gdb-patches@sourceware.org
> Subject: Re: [PATCH v2 1/2] record: set stop_pc in "record goto" command

> > When navigating in the recorded execution trace via "record goto", we do
> not
> > set stop_pc. This may trigger an internal error in infrun.c when stepping
> > from that location. Set it.
> >
> > (gdb) rec full
> > (gdb) c
> > Continuing.
> >
> > Breakpoint 1, foo (void) at foo.c:42
> > 42 x = y
> > (gdb) rn
> > foo (void)
> > at foo.c:41
> > 41 y = x
> > (gdb) rec go end
> > Go forward to insn number 98724
> > at foo.c:42
> > 42 x = y
> > (gdb) n
> > infrun.c:2382: internal-error: resume: Assertion `sig != GDB_SIGNAL_0'
> failed.
> > A problem internal to GDB has been detected,
> > further debugging may prove unreliable.
> > Quit this debugging session? (y or n)

Would this make sense for GDB 7.10, as well?

Regards,
Markus.
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Prof. Dr. Hermann Eul
Chairperson of the Supervisory Board: Tiffany Doon Silva
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928