diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-05 21:53:33 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-05 21:53:33 +0000 |
commit | 1df84f135c3658e1b6d147fdf37254e21cc69d36 (patch) | |
tree | ad6752c8fb495b0e86dbd9485517b02190a98d9c /gdb/wince.c | |
parent | 21e3b9b91ad5717058e1bd5fcd58ca407fc83324 (diff) | |
download | fsf-binutils-gdb-1df84f135c3658e1b6d147fdf37254e21cc69d36.zip fsf-binutils-gdb-1df84f135c3658e1b6d147fdf37254e21cc69d36.tar.gz fsf-binutils-gdb-1df84f135c3658e1b6d147fdf37254e21cc69d36.tar.bz2 |
2004-10-05 Andrew Cagney <cagney@gnu.org>
* target.h (deprecated_child_ops): Rename child_ops.
* wince.c: Update copyright. Rename child_ops.
* win32-nat.c: Rename child_ops.
* target.c: Rename child_ops.
* rs6000-nat.c: Rename child_ops.
* linux-nat.c: Rename child_ops.
* infttrace.c: Rename child_ops.
* inftarg.c: Rename child_ops.
* infptrace.c: Rename child_ops.
* hppah-nat.c: Update copyright. Rename child_ops.
* hpux-thread.c: Update copyright. Rename child_ops.
Diffstat (limited to 'gdb/wince.c')
-rw-r--r-- | gdb/wince.c | 77 |
1 files changed, 39 insertions, 38 deletions
diff --git a/gdb/wince.c b/gdb/wince.c index 5abb0c2..d189755 100644 --- a/gdb/wince.c +++ b/gdb/wince.c @@ -1,5 +1,6 @@ /* Target-vector operations for controlling Windows CE child processes, for GDB. - Copyright 1999, 2000, 2001 Free Software Foundation, Inc. + + Copyright 1999, 2000, 2001, 2004 Free Software Foundation, Inc. Contributed by Cygnus Solutions, A Red Hat Company. This file is part of GDB. @@ -1762,7 +1763,7 @@ child_create_inferior (char *exec_file, char *args, char **env, memset (¤t_event, 0, sizeof (current_event)); current_event.dwThreadId = pi.dwThreadId; inferior_ptid = pid_to_ptid (current_event.dwThreadId); - push_target (&child_ops); + push_target (&deprecated_child_ops); child_init_thread_list (); child_add_thread (pi.dwThreadId, pi.hThread); init_wait_for_inferior (); @@ -1783,7 +1784,7 @@ static void child_mourn_inferior (void) { (void) child_continue (DBG_CONTINUE, -1); - unpush_target (&child_ops); + unpush_target (&deprecated_child_ops); stop_stub (); CeRapiUninit (); connection_initialized = 0; @@ -1888,40 +1889,40 @@ child_load (char *file, int from_tty) static void init_child_ops (void) { - memset (&child_ops, 0, sizeof (child_ops)); - child_ops.to_shortname = (char *) "child"; - child_ops.to_longname = (char *) "Windows CE process"; - child_ops.to_doc = (char *) "Windows CE process (started by the \"run\" command)."; - child_ops.to_open = child_open; - child_ops.to_close = child_close; - child_ops.to_resume = child_resume; - child_ops.to_wait = child_wait; - child_ops.to_fetch_registers = child_fetch_inferior_registers; - child_ops.to_store_registers = child_store_inferior_registers; - child_ops.to_prepare_to_store = child_prepare_to_store; - child_ops.to_xfer_memory = child_xfer_memory; - child_ops.to_files_info = child_files_info; - child_ops.to_insert_breakpoint = memory_insert_breakpoint; - child_ops.to_remove_breakpoint = memory_remove_breakpoint; - child_ops.to_terminal_init = terminal_init_inferior; - child_ops.to_terminal_inferior = terminal_inferior; - child_ops.to_terminal_ours_for_output = terminal_ours_for_output; - child_ops.to_terminal_ours = terminal_ours; - child_ops.to_terminal_save_ours = terminal_save_ours; - child_ops.to_terminal_info = child_terminal_info; - child_ops.to_kill = child_kill_inferior; - child_ops.to_load = child_load; - child_ops.to_create_inferior = child_create_inferior; - child_ops.to_mourn_inferior = child_mourn_inferior; - child_ops.to_can_run = child_can_run; - child_ops.to_thread_alive = win32_child_thread_alive; - child_ops.to_stratum = process_stratum; - child_ops.to_has_all_memory = 1; - child_ops.to_has_memory = 1; - child_ops.to_has_stack = 1; - child_ops.to_has_registers = 1; - child_ops.to_has_execution = 1; - child_ops.to_magic = OPS_MAGIC; + memset (&deprecated_child_ops, 0, sizeof (deprecated_child_ops)); + deprecated_child_ops.to_shortname = (char *) "child"; + deprecated_child_ops.to_longname = (char *) "Windows CE process"; + deprecated_child_ops.to_doc = (char *) "Windows CE process (started by the \"run\" command)."; + deprecated_child_ops.to_open = child_open; + deprecated_child_ops.to_close = child_close; + deprecated_child_ops.to_resume = child_resume; + deprecated_child_ops.to_wait = child_wait; + deprecated_child_ops.to_fetch_registers = child_fetch_inferior_registers; + deprecated_child_ops.to_store_registers = child_store_inferior_registers; + deprecated_child_ops.to_prepare_to_store = child_prepare_to_store; + deprecated_child_ops.to_xfer_memory = child_xfer_memory; + deprecated_child_ops.to_files_info = child_files_info; + deprecated_child_ops.to_insert_breakpoint = memory_insert_breakpoint; + deprecated_child_ops.to_remove_breakpoint = memory_remove_breakpoint; + deprecated_child_ops.to_terminal_init = terminal_init_inferior; + deprecated_child_ops.to_terminal_inferior = terminal_inferior; + deprecated_child_ops.to_terminal_ours_for_output = terminal_ours_for_output; + deprecated_child_ops.to_terminal_ours = terminal_ours; + deprecated_child_ops.to_terminal_save_ours = terminal_save_ours; + deprecated_child_ops.to_terminal_info = child_terminal_info; + deprecated_child_ops.to_kill = child_kill_inferior; + deprecated_child_ops.to_load = child_load; + deprecated_child_ops.to_create_inferior = child_create_inferior; + deprecated_child_ops.to_mourn_inferior = child_mourn_inferior; + deprecated_child_ops.to_can_run = child_can_run; + deprecated_child_ops.to_thread_alive = win32_child_thread_alive; + deprecated_child_ops.to_stratum = process_stratum; + deprecated_child_ops.to_has_all_memory = 1; + deprecated_child_ops.to_has_memory = 1; + deprecated_child_ops.to_has_stack = 1; + deprecated_child_ops.to_has_registers = 1; + deprecated_child_ops.to_has_execution = 1; + deprecated_child_ops.to_magic = OPS_MAGIC; } @@ -2018,7 +2019,7 @@ debugging over a network.", &setlist), &setlist), &showlist); - add_target (&child_ops); + add_target (&deprecated_child_ops); } /* Determine if the thread referenced by "pid" is alive |