From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69617 invoked by alias); 24 Apr 2019 20:10:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 69590 invoked by uid 89); 24 Apr 2019 20:10:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=gain, stopper, reasons, developing X-HELO: mailout05.t-online.de Received: from mailout05.t-online.de (HELO mailout05.t-online.de) (194.25.134.82) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 Apr 2019 20:09:59 +0000 Received: from fwd01.aul.t-online.de (fwd01.aul.t-online.de [172.20.27.147]) by mailout05.t-online.de (Postfix) with SMTP id 0326A423466A; Wed, 24 Apr 2019 22:09:56 +0200 (CEST) Received: from localhost (SOnWJ-ZC8hJDj13GJYqry+EqgbUN7Aaz8k+3z9EKvJJuNvuhYIlAYV2x1Ct2uHiwab@[95.91.240.34]) by fwd01.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1hJODI-1QtTFY0; Wed, 24 Apr 2019 22:09:52 +0200 Date: Wed, 24 Apr 2019 20:10:00 -0000 From: =?iso-8859-1?Q?Andr=E9_P=F6nitz?= To: Eli Zaretskii Cc: palves@redhat.com, brobecker@adacore.com, gdb-patches@sourceware.org Subject: Re: [RFA 2/2][master only] gdb/windows-nat.c: Get rid of main_thread_id global Message-ID: <20190424201322.GB19677@klara.mpi.htwm.de> References: <20190417173842.GA14817@adacore.com> <83wojseb9c.fsf@gnu.org> <20190417221729.GA5839@adacore.com> <9c75d158-6a73-d414-4cb2-17297d4576c6@redhat.com> <20190419204326.GA9601@adacore.com> <20190422152327.GA10697@klara.mpi.htwm.de> <7f39cca0-c200-430e-e885-32cc347207d0@redhat.com> <20190422214607.GA2372@klara.mpi.htwm.de> <83bm0x5ksj.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83bm0x5ksj.fsf@gnu.org> X-IsSubscribed: yes X-SW-Source: 2019-04/txt/msg00499.txt.bz2 On Tue, Apr 23, 2019 at 08:54:04AM +0300, Eli Zaretskii wrote: > > Also here, I don't see enough gain in one suppressed line of output > > to compensate for the inconsistency, this time even with a CLI user hat on. > > Forgive me for asking, but do you frequently debug with GDB on > Windows? Not frequently, and if so, only for testing purposes. But I do get regular feedback from a handful downstream users. > Because this issue is specific to native Windows debugging, > it won't affect any other platforms. The general pattern (subjective inconsistency in GDB output - and input when I think about it) is, fortunately or not, cross-platform. > On Windows, we already have > threads popping up and exiting that are started by the OS beyond our > control, which is already quite jarring even to me, [It's not just you in this case...] > certainly to someone who doesn't debug day in and day out. Having > the main thread of my program add more noise is not insignificant, > because ideally I don't want to see any of my application threads > shown unless my program really started a thread. To be honest, I have still difficulties to find a mental model on what irks a typical Windows users. On one hand, they can apparently stand developing on that platform, on the other hand, two lines of extra output, even issued for consistency reasons, appear to be a show stopper. Andre'