From cf759d3bc0e43da69c26f1c0a176042da8cf23a5 Mon Sep 17 00:00:00 2001 From: Nicholas Duffek Date: Tue, 17 Jul 2001 01:23:44 +0000 Subject: [PATCH] * remote.c (init_remote_ops, init_remote_cisco_ops, init_remote_async_ops): Set to_pid_to_str and to_extra_thread_info correctly and in the same order as declared in target.h. --- gdb/ChangeLog | 7 +++++++ gdb/remote.c | 8 +++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9bb72d32a6..9827d21336 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2001-07-16 Nick Duffek + + * remote.c (init_remote_ops, init_remote_cisco_ops, + init_remote_async_ops): Set to_pid_to_str and + to_extra_thread_info correctly and in the same order as declared + in target.h. + 2001-07-16 Andrew Cagney * remote.c: Revert below. Included more than intended. diff --git a/gdb/remote.c b/gdb/remote.c index e6c3c919ed..be90b2024e 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -5227,8 +5227,8 @@ Specify the serial device it is connected to\n\ remote_ops.to_mourn_inferior = remote_mourn; remote_ops.to_thread_alive = remote_thread_alive; remote_ops.to_find_new_threads = remote_threads_info; - remote_ops.to_extra_thread_info = remote_threads_extra_info; remote_ops.to_pid_to_str = remote_pid_to_str; + remote_ops.to_extra_thread_info = remote_threads_extra_info; remote_ops.to_stop = remote_stop; remote_ops.to_query = remote_query; remote_ops.to_rcmd = remote_rcmd; @@ -5636,7 +5636,8 @@ Specify the serial device it is connected to (e.g. host:2020)."; remote_cisco_ops.to_mourn_inferior = remote_cisco_mourn; remote_cisco_ops.to_thread_alive = remote_thread_alive; remote_cisco_ops.to_find_new_threads = remote_threads_info; - remote_ops.to_extra_thread_info = remote_threads_extra_info; + remote_cisco_ops.to_pid_to_str = remote_pid_to_str; + remote_cisco_ops.to_extra_thread_info = remote_threads_extra_info; remote_cisco_ops.to_stratum = process_stratum; remote_cisco_ops.to_has_all_memory = 1; remote_cisco_ops.to_has_memory = 1; @@ -5726,7 +5727,8 @@ Specify the serial device it is connected to (e.g. /dev/ttya)."; remote_async_ops.to_mourn_inferior = remote_async_mourn; remote_async_ops.to_thread_alive = remote_thread_alive; remote_async_ops.to_find_new_threads = remote_threads_info; - remote_ops.to_extra_thread_info = remote_threads_extra_info; + remote_async_ops.to_pid_to_str = remote_pid_to_str; + remote_async_ops.to_extra_thread_info = remote_threads_extra_info; remote_async_ops.to_stop = remote_stop; remote_async_ops.to_query = remote_query; remote_async_ops.to_rcmd = remote_rcmd;