From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15604 invoked by alias); 27 Sep 2004 19:58:02 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15590 invoked from network); 27 Sep 2004 19:58:00 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 27 Sep 2004 19:58:00 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i8RJw07F006720 for ; Mon, 27 Sep 2004 15:58:00 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i8RJvxr17636; Mon, 27 Sep 2004 15:57:59 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D090528D2; Mon, 27 Sep 2004 15:57:55 -0400 (EDT) Message-ID: <415870C3.3000108@gnu.org> Date: Mon, 27 Sep 2004 19:58:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040831 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: Re: [rfa/threads] Eliminate lin-lwp.c References: <4149B268.3060506@gnu.org> In-Reply-To: <4149B268.3060506@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00449.txt.bz2 > Hello, > > Ref: http://sources.redhat.com/ml/gdb/2004-09/msg00136.html > This patch performs a simple minded merge of lin-lwp.c into linux-nat.c. > > With this change in place the task of switching to the inheritance target vector, and having a GNU/Linux specific target vector, become possible. > > Tested on i386 FC3ish GNU/Linux with no regressions (as expected, this is a mechanical change). > > ok? M;kayed & committed. > Index: ChangeLog > 2004-09-16 Andrew Cagney > > * lin-lwp.c: Delete file. > * linux-nat.c: Include "gdb_assert.h", "gdb_string.h", , > , "gdbthread.h", "gdbcmd.h", "regcache.h". > (status_to_str, init_lwp_list, add_lwp, delete_lwp) > (find_lwp_pid, iterate_over_lwps, lin_lwp_attach_lwp) > (linux_nat_attach, detach_callback, linux_nat_detach) > (resume_callback, resume_clear_callback, linux_nat_resume) > (kill_lwp, linux_nat_handle_extended, wait_lwp, stop_callback) > (stop_wait_callback, linux_nat_has_pending, flush_callback) > (status_callback, running_callback, count_events_callback) > (select_singlestep_lwp_callback, select_event_lwp_callback) > (cancel_breakpoints_callback, select_event_lwp, resumed_callback) > (child_wait, stop_and_resume_callback, linux_nat_wait) > (kill_callback, kill_wait_callback, linux_nat_kill) > (linux_nat_create_inferior, linux_nat_mourn_inferior) > (linux_nat_xfer_memory, linux_nat_thread_alive) > (linux_nat_pid_to_str, init_linux_nat_ops, sigchld_handler) > (_initialize_linux_nat): New functions. > * Makefile.in: Update all dependencies. > * config/sparc/linux64.mh (NATDEPFILES): Remove lin-lwp.o. > * config/sparc/linux.mh (NATDEPFILES): Remove lin-lwp.o. > * config/s390/s390.mh (NATDEPFILES): Remove lin-lwp.o. > * config/powerpc/ppc64-linux.mh (NATDEPFILES): Remove lin-lwp.o. > * config/powerpc/linux.mh (NATDEPFILES): Remove lin-lwp.o. > * config/pa/linux.mh (NATDEPFILES): Remove lin-lwp.o. > * config/mips/linux.mh (NATDEPFILES): Remove lin-lwp.o. > * config/m68k/linux.mh (NATDEPFILES): Remove lin-lwp.o. > * config/ia64/linux.mh (NATDEPFILES): Remove lin-lwp.o. > * config/i386/linux64.mh (NATDEPFILES): Remove lin-lwp.o. > * config/i386/linux.mh (NATDEPFILES): Remove lin-lwp.o. > * config/arm/linux.mh (NATDEPFILES): Remove lin-lwp.o. > * config/alpha/alpha-linux.mh (NATDEPFILES): Remove lin-lwp.o. >