From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20566 invoked by alias); 19 Feb 2003 17:16:14 -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 20558 invoked from network); 19 Feb 2003 17:16:13 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 19 Feb 2003 17:16:13 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 0F3D42E96; Wed, 19 Feb 2003 12:20:59 -0500 (EST) Message-ID: <3E53BCFA.70405@redhat.com> Date: Wed, 19 Feb 2003 17:16:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.0.2) Gecko/20030217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] PTRACE_ATTACH problem on new Linux kernels References: <15953.34032.985446.344226@localhost.redhat.com> <20030218022401.14C7E3CF3@localhost.redhat.com> <15953.43345.841483.153044@localhost.redhat.com> <3E52936A.3060706@redhat.com> <15954.39904.805543.819269@localhost.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00417.txt.bz2 > Kind of. I am testing the following: > > 2003-02-18 Elena Zannoni > > * infrun.c (stop_soon_quietly): Make it an enum, to better > override the default behavior of handle_inferior_event. > (clear_proceed_status): Update uses of stop_soon_quietly to > reflect that it is now an enum. > (start_remote): Ditto. > (handle_inferior_event): Change logic a bit if stop_soon_quietly > is set to handle the new kernel behavior for attach/sigstop. > Update uses of stop_soon_quietly. > * inferior.h (enum stop_kind): New enum. > * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. > Reset normal handle_inferior_event behavior, afterwards. > * fork-child.c (startup_inferior): Update. > * alpha-tdep.c (heuristic_proc_start): Update. > * solib-svr4.c (svr4_solib_create_inferior_hook): Update. > * solib-sunos.c (sunos_solib_create_inferior_hook): Update. > * solib-osf.c (osf_solib_create_inferior_hook): Update. > * solib-irix.c (irix_solib_create_inferior_hook): Update. > * remote-vx.c (vx_create_inferior): Update. > * mips-tdep.c (heuristic_proc_start): Update. Yes, anything like this. Only one state variable to contend with. Andrew