This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit+7.5] [patch] reverse: Do not run-away on jmp-only instr. function


On Thu, 13 Sep 2012 17:09:36 +0200, Pedro Alves wrote:
> On 09/12/2012 10:06 PM, Jan Kratochvil wrote:
> 
> > gdb/
> > 2012-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
> > 	    Pedro Alves  <palves@redhat.com>
> > 
> > 	PR 14548
> > 	* infrun.c (handle_inferior_event): Do not reverse-continue back to the
> > 	function start if we are already at function start.  Both for
> > 	reverse-next and for reverse-step into function without line number
> > 	info.
> > 
> > gdb/testsuite/
> > 2012-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
> > 
> > 	PR 14548
> > 	* gdb.reverse/singlejmp-reverse-nodebug.S: New file.
> > 	* gdb.reverse/singlejmp-reverse-nodebug.c: New file.
> > 	* gdb.reverse/singlejmp-reverse.S: New file.
> > 	* gdb.reverse/singlejmp-reverse.c: New file.
> > 	* gdb.reverse/singlejmp-reverse.exp: New file.
> 
> Thanks.  Looks good to me.

Checked in:
	http://sourceware.org/ml/gdb-cvs/2012-09/msg00078.html
And for 7.5
	http://sourceware.org/ml/gdb-cvs/2012-09/msg00079.html
as a pre-requisite for the reverse part of
	[patch+7.5?] Fix GDB-return into TAILCALL_FRAME (PR 14119)
	http://sourceware.org/ml/gdb-patches/2012-09/msg00218.html


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]