gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 17 Sep 2012 07:09:35 +0000 (07:09 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 17 Sep 2012 07:09:35 +0000 (07:09 +0000)
commitacf9414f48577b03f303c70f504383709db6a249
tree56b3aacf2b20c7fc0604e643828216ad627f160f
parent193facb37dbdf7a969ac8c581ec9b3158cfef7ee
gdb/
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/
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.
gdb/ChangeLog
gdb/infrun.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.reverse/singlejmp-reverse-nodebug.S [new file with mode: 0644]
gdb/testsuite/gdb.reverse/singlejmp-reverse-nodebug.c [new file with mode: 0644]
gdb/testsuite/gdb.reverse/singlejmp-reverse.S [new file with mode: 0644]
gdb/testsuite/gdb.reverse/singlejmp-reverse.c [new file with mode: 0644]
gdb/testsuite/gdb.reverse/singlejmp-reverse.exp [new file with mode: 0644]