diff options
Diffstat (limited to 'gdb/remote-mm.c')
-rw-r--r-- | gdb/remote-mm.c | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/gdb/remote-mm.c b/gdb/remote-mm.c index 2604279..c10f97e 100644 --- a/gdb/remote-mm.c +++ b/gdb/remote-mm.c @@ -345,7 +345,7 @@ erroid: printf_filtered("\twhen virtual addresses map 1:1 to physical addresses.\n") ; if (processor_type != a29k_freeze_mode) { - fprintf_filtered(stderr, + fprintf_filtered(gdb_stderr, "Freeze-mode debugging not available, and can only be done on an A29050.\n"); } @@ -1015,7 +1015,7 @@ int from_tty; /* You may need to do an init_target_mm() */ /* init_target_mm(?,?,?,?,?,?,?,?); */ immediate_quit--; - /* symbol_file_add (arg_string, from_tty, text_addr, 0, 0); */ + /* symbol_file_add (arg_string, from_tty, text_addr, 0, 0, 0, 0); */ #endif } @@ -1597,9 +1597,13 @@ static void init_mm_ops(void) mm_ops.to_open = mm_open; mm_ops.to_close = mm_close; mm_ops.to_attach = mm_attach; + mm_ops.to_post_attach = NULL; + mm_ops.to_require_attach = NULL; mm_ops.to_detach = mm_detach; + mm_ops.to_require_detach = NULL; mm_ops.to_resume = mm_resume; mm_ops.to_wait = mm_wait; + mm_ops.to_post_wait = NULL; mm_ops.to_fetch_registers = mm_fetch_registers; mm_ops.to_store_registers = mm_store_registers; mm_ops.to_prepare_to_store = mm_prepare_to_store; @@ -1615,12 +1619,31 @@ static void init_mm_ops(void) mm_ops.to_kill = mm_kill; mm_ops.to_load = mm_load; mm_ops.to_lookup_symbol = 0; - mm_ops.to_create_inferior = mm_create_inferior; + mm_ops.to_create_inferior = mm_create_inferior; + mm_ops.to_post_startup_inferior = NULL; + mm_ops.to_acknowledge_created_inferior = NULL; + mm_ops.to_clone_and_follow_inferior = NULL; + mm_ops.to_post_follow_inferior_by_clone = NULL; + mm_ops.to_insert_fork_catchpoint = NULL; + mm_ops.to_remove_fork_catchpoint = NULL; + mm_ops.to_insert_vfork_catchpoint = NULL; + mm_ops.to_remove_vfork_catchpoint = NULL; + mm_ops.to_has_forked = NULL; + mm_ops.to_has_vforked = NULL; + mm_ops.to_can_follow_vfork_prior_to_exec = NULL; + mm_ops.to_post_follow_vfork = NULL; + mm_ops.to_insert_exec_catchpoint = NULL; + mm_ops.to_remove_exec_catchpoint = NULL; + mm_ops.to_has_execd = NULL; + mm_ops.to_reported_exec_events_per_exec_call = NULL; + mm_ops.to_has_exited = NULL; mm_ops.to_mourn_inferior = mm_mourn; mm_ops.to_can_run = 0; mm_ops.to_notice_signals = 0; mm_ops.to_thread_alive = 0; mm_ops.to_stop = 0; + mm_ops.to_pid_to_exec_file = NULL; + mm_ops.to_core_file_to_sym_file = NULL; mm_ops.to_stratum = process_stratum; mm_ops.DONT_USE = 0; mm_ops.to_has_all_memory = 1; |