From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14003 invoked by alias); 5 Mar 2004 04:15:39 -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 13994 invoked from network); 5 Mar 2004 04:15:37 -0000 Received: from unknown (HELO topsns.toshiba-tops.co.jp) (202.230.225.5) by sources.redhat.com with SMTP; 5 Mar 2004 04:15:37 -0000 Received: from no.name.available by topsns.toshiba-tops.co.jp via smtpd (for sources.redhat.com [67.72.78.213]) with SMTP; 5 Mar 2004 04:15:41 UT Received: from localhost (fragile [172.17.28.65]) by srd2sd.toshiba-tops.co.jp (8.12.10/8.12.10) with ESMTP id i254FM1x091627; Fri, 5 Mar 2004 13:15:22 +0900 (JST) (envelope-from anemo@mba.ocn.ne.jp) Date: Fri, 19 Mar 2004 00:09:00 -0000 Message-Id: <20040305.131748.104026850.nemoto@toshiba-tops.co.jp> To: drow@false.org Cc: gdb-patches@sources.redhat.com Subject: Re: remote debugging a multi-threaded program with signal From: Atsushi Nemoto In-Reply-To: <20040304222800.GA29911@nevyn.them.org> References: <20040304.010624.59462252.anemo@mba.ocn.ne.jp> <20040305.000540.59461353.anemo@mba.ocn.ne.jp> <20040304222800.GA29911@nevyn.them.org> X-Fingerprint: 6ACA 1623 39BD 9A94 9B1A B746 CA77 FE94 2874 D52F X-Pgp-Public-Key: http://wwwkeys.pgp.net/pks/lookup?op=get&search=0x2874D52F Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00090.txt.bz2 >>>>> On Thu, 4 Mar 2004 17:28:00 -0500, Daniel Jacobowitz said: > * infrun.c (handle_inferior_event): Pass nostop signals to the > correct thread. ... > - if (printed) > - target_terminal_inferior (); > - BTW, it would be better to move those lines to the preceding #if 0 block? :-) /* ??rehrauer: I don't understand the rationale for this code. If the ... For now, remove the message altogether. */ #if 0 printed = 1; target_terminal_ours_for_output (); printf_filtered ("\nProgram received signal %s, %s.\n", target_signal_to_name (stop_signal), target_signal_to_string (stop_signal)); gdb_flush (gdb_stdout); #endif --- Atsushi Nemoto From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14003 invoked by alias); 5 Mar 2004 04:15:39 -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 13994 invoked from network); 5 Mar 2004 04:15:37 -0000 Received: from unknown (HELO topsns.toshiba-tops.co.jp) (202.230.225.5) by sources.redhat.com with SMTP; 5 Mar 2004 04:15:37 -0000 Received: from no.name.available by topsns.toshiba-tops.co.jp via smtpd (for sources.redhat.com [67.72.78.213]) with SMTP; 5 Mar 2004 04:15:41 UT Received: from localhost (fragile [172.17.28.65]) by srd2sd.toshiba-tops.co.jp (8.12.10/8.12.10) with ESMTP id i254FM1x091627; Fri, 5 Mar 2004 13:15:22 +0900 (JST) (envelope-from anemo@mba.ocn.ne.jp) Date: Fri, 05 Mar 2004 04:15:00 -0000 Message-ID: <20040305.131748.104026850.nemoto@toshiba-tops.co.jp> To: drow@false.org Cc: gdb-patches@sources.redhat.com Subject: Re: remote debugging a multi-threaded program with signal From: Atsushi Nemoto In-Reply-To: <20040304222800.GA29911@nevyn.them.org> References: <20040304.010624.59462252.anemo@mba.ocn.ne.jp> <20040305.000540.59461353.anemo@mba.ocn.ne.jp> <20040304222800.GA29911@nevyn.them.org> X-Fingerprint: 6ACA 1623 39BD 9A94 9B1A B746 CA77 FE94 2874 D52F X-Pgp-Public-Key: http://wwwkeys.pgp.net/pks/lookup?op=get&search=0x2874D52F Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03.o/txt/msg00090.txt Message-ID: <20040305041500.4vpPRPHqSMCNIQOvSYwXTxL2utCICKwy0t8voRU7dfA@z> >>>>> On Thu, 4 Mar 2004 17:28:00 -0500, Daniel Jacobowitz said: > * infrun.c (handle_inferior_event): Pass nostop signals to the > correct thread. ... > - if (printed) > - target_terminal_inferior (); > - BTW, it would be better to move those lines to the preceding #if 0 block? :-) /* ??rehrauer: I don't understand the rationale for this code. If the ... For now, remove the message altogether. */ #if 0 printed = 1; target_terminal_ours_for_output (); printf_filtered ("\nProgram received signal %s, %s.\n", target_signal_to_name (stop_signal), target_signal_to_string (stop_signal)); gdb_flush (gdb_stdout); #endif --- Atsushi Nemoto