summaryrefslogtreecommitdiff
path: root/gdb/command.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2009-11-20 17:23:38 +0000
committerMichael Snyder <msnyder@specifix.com>2009-11-20 17:23:38 +0000
commit7140eec48baabba8bb3b643b2f5969ba8bc59b73 (patch)
tree68a21ca868516c0927336a2776df14ee91a4aaae /gdb/command.h
parent4fa96a6246089e051109b2845caf5ad928594519 (diff)
downloadgdb-7140eec48baabba8bb3b643b2f5969ba8bc59b73.tar.gz
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.
Diffstat (limited to 'gdb/command.h')
-rw-r--r--gdb/command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/command.h b/gdb/command.h
index 1a6bec417fa..8d9f0ca95cf 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -32,8 +32,8 @@ enum command_class
/* Classes of commands */
no_class = -1, class_run = 0, class_vars, class_stack,
class_files, class_support, class_info, class_breakpoint, class_trace,
- class_alias, class_obscure, class_user, class_maintenance,
- class_pseudo, class_tui, class_xdb
+ class_alias, class_bookmark, class_obscure, class_maintenance,
+ class_pseudo, class_tui, class_user, class_xdb
};
/* FIXME: cagney/2002-03-17: Once cmd_type() has been removed, ``enum