* tracepoint.h (set_traceframe_number)
authorPedro Alves <palves@redhat.com>
Wed, 24 Feb 2010 01:06:28 +0000 (01:06 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 24 Feb 2010 01:06:28 +0000 (01:06 +0000)
commit06cd862c015ff7285816de9e36290b5b1a7b090e
treed053a8ccb0bdadc5088e59e7728b7f4a2961b66f
parentab92d69b1e3a3db7bd4f9564ad3b5bbccc9a7988
* tracepoint.h (set_traceframe_number)
(cleanup_restore_current_traceframe): Declare.
* tracepoint.c (set_traceframe_number): New.
(struct current_traceframe_cleanup): New.
(do_restore_current_traceframe_cleanup)
(restore_current_traceframe_cleanup_dtor)
(make_cleanup_restore_current_traceframe): New.
* infrun.c: Include tracepoint.h.
(fetch_inferior_event): Switch out and in of tfind mode.
gdb/ChangeLog
gdb/infrun.c
gdb/tracepoint.c
gdb/tracepoint.h