diff options
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r-- | gdb/gdbserver/linux-low.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index c0d3b0d..a278c9a 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -357,13 +357,13 @@ linux_add_process (int pid, int attached) struct process_info *proc; proc = add_process (pid, attached); - proc->private = xcalloc (1, sizeof (*proc->private)); + proc->priv = xcalloc (1, sizeof (*proc->priv)); /* Set the arch when the first LWP stops. */ - proc->private->new_inferior = 1; + proc->priv->new_inferior = 1; if (the_low_target.new_process != NULL) - proc->private->arch_private = the_low_target.new_process (); + proc->priv->arch_private = the_low_target.new_process (); return proc; } @@ -1167,10 +1167,10 @@ linux_mourn (struct process_info *process) find_inferior (&all_threads, delete_lwp_callback, process); /* Freeing all private data. */ - priv = process->private; + priv = process->priv; free (priv->arch_private); free (priv); - process->private = NULL; + process->priv = NULL; remove_process (process); } @@ -1842,7 +1842,7 @@ linux_low_filter_event (int lwpid, int wstat) is stopped for the first time, but before we access any inferior registers. */ proc = find_process_pid (pid_of (thread)); - if (proc->private->new_inferior) + if (proc->priv->new_inferior) { struct thread_info *saved_thread; @@ -1853,7 +1853,7 @@ linux_low_filter_event (int lwpid, int wstat) current_thread = saved_thread; - proc->private->new_inferior = 0; + proc->priv->new_inferior = 0; } } @@ -2757,7 +2757,7 @@ linux_wait_1 (ptid_t ptid, && current_thread->last_resume_kind != resume_step && ( #if defined (USE_THREAD_DB) && !defined (__ANDROID__) - (current_process ()->private->thread_db != NULL + (current_process ()->priv->thread_db != NULL && (WSTOPSIG (w) == __SIGRTMIN || WSTOPSIG (w) == __SIGRTMIN + 1)) || @@ -4821,7 +4821,7 @@ linux_look_up_symbols (void) #ifdef USE_THREAD_DB struct process_info *proc = current_process (); - if (proc->private->thread_db != NULL) + if (proc->priv->thread_db != NULL) return; /* If the kernel supports tracing clones, then we don't need to @@ -5741,7 +5741,7 @@ linux_qxfer_libraries_svr4 (const char *annex, unsigned char *readbuf, { char *document; unsigned document_len; - struct process_info_private *const priv = current_process ()->private; + struct process_info_private *const priv = current_process ()->priv; char filename[PATH_MAX]; int pid, is_elf64; |