convert to_get_bookmark
[deliverable/binutils-gdb.git] / gdb / target.c
index 911c49750435c4d5498547e2a61baf707781354c..1218e4ffbe85bd89b66ef571459c99ffb077feca 100644 (file)
@@ -670,7 +670,7 @@ update_current_target (void)
       /* Do not inherit to_async.  */
       /* Do not inherit to_find_memory_regions.  */
       /* Do not inherit to_make_corefile_notes.  */
-      INHERIT (to_get_bookmark, t);
+      /* Do not inherit to_get_bookmark.  */
       INHERIT (to_goto_bookmark, t);
       /* Do not inherit to_get_thread_local_address.  */
       INHERIT (to_can_execute_reverse, t);
@@ -3680,14 +3680,6 @@ dummy_make_corefile_notes (struct target_ops *self,
   return NULL;
 }
 
-/* Error-catcher for target_get_bookmark.  */
-static gdb_byte *
-dummy_get_bookmark (struct target_ops *self, char *ignore1, int ignore2)
-{
-  tcomplain ();
-  return NULL;
-}
-
 /* Error-catcher for target_goto_bookmark.  */
 static void
 dummy_goto_bookmark (struct target_ops *self, gdb_byte *ignore, int from_tty)
@@ -3710,7 +3702,6 @@ init_dummy_target (void)
     = find_default_supports_disable_randomization;
   dummy_target.to_pid_to_str = dummy_pid_to_str;
   dummy_target.to_stratum = dummy_stratum;
-  dummy_target.to_get_bookmark = dummy_get_bookmark;
   dummy_target.to_goto_bookmark = dummy_goto_bookmark;
   dummy_target.to_has_all_memory = (int (*) (struct target_ops *)) return_zero;
   dummy_target.to_has_memory = (int (*) (struct target_ops *)) return_zero;
This page took 0.027277 seconds and 4 git commands to generate.