aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2009-11-20 17:23:38 +0000
committerMichael Snyder <msnyder@vmware.com>2009-11-20 17:23:38 +0000
commit6b04bdb74a44bebb3d4931de23ae39b0315d06b6 (patch)
tree3eb64a81055abe07f9ba9e86b529138002b04390 /gdb/breakpoint.c
parentc29aca4a95885ab0b01c346590afa685cf121919 (diff)
downloadgdb-6b04bdb74a44bebb3d4931de23ae39b0315d06b6.zip
gdb-6b04bdb74a44bebb3d4931de23ae39b0315d06b6.tar.gz
gdb-6b04bdb74a44bebb3d4931de23ae39b0315d06b6.tar.bz2
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/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 4849d8f..1c30f6d 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -10142,6 +10142,8 @@ is prefixed with \"server \".\n\n\
Convenience variable \"$bpnum\" contains the number of the last\n\
breakpoint set."));
+ add_info_alias ("b", "breakpoints", 1);
+
if (xdb_commands)
add_com ("lb", class_breakpoint, breakpoints_info, _("\
Status of user-settable breakpoints, or breakpoint number NUMBER.\n\