This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PATCH v2 1/2] record: set stop_pc in "record goto" command
- From: "Metzger, Markus T" <markus dot t dot metzger at intel dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, "Joel Brobecker (brobecker at adacore dot com)" <brobecker at adacore dot com>
- Date: Mon, 13 Jul 2015 07:39:00 +0000
- Subject: RE: [PATCH v2 1/2] record: set stop_pc in "record goto" command
- Authentication-results: sourceware.org; auth=none
- References: <1436422132-8936-1-git-send-email-markus dot t dot metzger at intel dot com> <559E4F22 dot 6040500 at redhat dot com>
> -----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