Home | History | Annotate | Download | only in gdb

Lines Matching defs:bookmark

91 /* Data structures for a bookmark list.  */
93 struct bookmark {
100 static std::vector<struct bookmark> all_bookmarks;
103 /* save_bookmark_command -- implement "bookmark" command.
104 Call target method to get a bookmark identifier.
105 Insert bookmark identifier into list.
113 /* Get target's idea of a bookmark. */
118 /* CR should not cause another identical bookmark. */
124 /* Set up a bookmark struct. */
125 bookmark &b = all_bookmarks.emplace_back ();
132 gdb_printf (_("Saved bookmark %d at %s\n"), b.number,
136 /* Implement "delete bookmark" command. */
141 /* Find bookmark with corresponding number. */
184 warning (_("No bookmark #%d."), num);
188 /* Implement "goto-bookmark" command. */
217 /* General case. Bookmark identified by bookmark number. */
221 error (_("goto-bookmark: invalid bookmark number '%s'."), p);
223 for (const bookmark &iter : all_bookmarks)
233 error (_("goto-bookmark: no bookmark found for '%s'."), p);
242 for (const bookmark &iter : all_bookmarks)
255 gdb_printf ("No bookmark #%d\n", bnum);
321 add_com ("bookmark", class_bookmark, save_bookmark_command, _("\
322 Set a bookmark in the program's execution history.\n\
323 A bookmark represents a point in the execution history\n\
330 add_cmd ("bookmark", class_bookmark, delete_bookmark_command, _("\
331 Delete a bookmark from the bookmark list.\n\
332 Argument is a bookmark number or numbers,\n\
335 add_com ("goto-bookmark", class_bookmark, goto_bookmark_command, _("\
337 Argument is the bookmark number of a bookmark saved earlier by using\n\
338 the 'bookmark' command, or the special arguments:\n\