OSDN Git Service

2009-10-25 Michael Snyder <msnyder@vmware.com>
authormsnyder <msnyder>
Sat, 21 Nov 2009 02:23:38 +0000 (02:23 +0000)
committermsnyder <msnyder>
Sat, 21 Nov 2009 02:23:38 +0000 (02:23 +0000)
commit466b19c002cd0f20a3f056ceaa3501fdac1dac3c
treea5717dbe826724e8ebe1a9ae179f32fc17e1dfc7
parentfcd78e4ef35889ad615615821a5cc7bd05e836d3
2009-10-25  Michael Snyder  <msnyder@vmware.com>

        * target.h (struct target_ops): New methods to_get_bookmark
        and to_goto_bookmark.
        (target_get_bookmark): New macro.
        (target_goto_bookmark): New macro.
        * target.c (dummy_get_bookmark): New function, default implementation.
        (dummy_goto_bookmark): New function, default implementation.
        (update_current_target): Inherit new methods.
        * record.c (record_get_bookmark): New function.
        (record_goto_bookmark): New function.
        (init_record_ops): Set to_get_bookmark and to_goto_bookmark methods.
        * reverse.c (struct bookmark): New type.
        (save_bookmark_command): New function (command).
        (delete_bookmark_command): New function (command).
        (goto_bookmark_command): New function (command).
        (bookmarks_info): New function (command).
        (_initialize_reverse): Add new bookmark commands.
* command.h (enum command_class): Add class_bookmark.
* NEWS: Mention bookmark commands.
gdb/ChangeLog
gdb/breakpoint.c
gdb/command.h
gdb/record.c
gdb/reverse.c
gdb/target.c
gdb/target.h