From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by sourceware.org (Postfix) with ESMTPS id A02073858C2D for ; Mon, 27 Nov 2023 20:13:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A02073858C2D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A02073858C2D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::d2c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701116040; cv=none; b=x1K6v4Xym3NyL/XL+RXrKJNGT//ekTzz7J0jfEJ4sV59i8NYnIdoqYhuVltPq+43zo+I0vnZudPMzrmgH5X764iqLteHC48RfftVQxcGTF/dOE9DMkriNZsiTNj38HHnG31qtZK171+6A0vVia2Rwrixaa5Pb9G+I8VpGiWVF1U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701116040; c=relaxed/simple; bh=SfFCbZjFnubrFVwG3B0c7c+TkV/Xpz0fUSPzClhf2/E=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=OjbLYtBSiq8ZHO8sd6odBJ3WCanMgCIBI4GEWRAv5ZwolsQOGNd+nbzjZkh5JLVllx3CW2W5XisIQ+7xIa7Ed7wbGLs/rkXYA47h41FjZZLHZCxvnssMlbGF+fQSAuKz62gjgaytFIKuC3rtLjc/TvGbcRGvXqyiicF3mqQrC6s= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-7b395875bb8so63926039f.1 for ; Mon, 27 Nov 2023 12:13:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1701116039; x=1701720839; darn=sourceware.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=G7Rl9/kVeRsZFXuvNJ8P2wahFXEXhsWZteYLerLiQCw=; b=TMBsO1gjA7xBUBw3bClxWiy6UtRLPwGRvxpOmvo63PlrAkSqDYiz2rpmXZ/EvU8XSv jmrAklbgVw9SPYNW1P1fNoEENCiAqyRZozPpDqG0HAxtxjjgxMPUxgmwg7jnRY3c89Dw eUTIcqZSMKiOOR0kNLbozgMir2wseVPRqhiqt8p7kDGaTNtq7EBvvqX3wyuO5qiQU0hK ChZVq9J7P49woJ3RvZCfR5G37zKPFwe3n5rgexaXvjkNsA+BrFbbXdqMk3kM4O20f1kE euIeMOs/BxmQcuec6o+d3nohmJT+ZLewjwrglIHmGUOrfFAgn2ZJ6JZrsFFp7QKQNRGp c5JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701116039; x=1701720839; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=G7Rl9/kVeRsZFXuvNJ8P2wahFXEXhsWZteYLerLiQCw=; b=MUgUD5D/5OFM3HYBEhmnPYSQZ2HiArtFaYUe0lYpP1fcpvcVSskAqLfGIM17D/VnJZ 5/x6w1OUJiU68VHS/IC4CLU4CQLy06FSqcVpwypnzpoP6GYoKOc2t82KbQ7+o5o/1ROR 5LhvaxeID1WzZJow9u2cmeFbYdhRzzQaLecsI6hANlQyC1u+4Cq1gOiDxl8tF19xHf2B 7CyA5+gqRsQ2YwS1ig58pqTWXIHdQpSj3pW2T2tjOqLRH8x8lhXjROqSdMZrNsHfcrpl p+jpxZiUEO3+sBmxUi5T5PhsG4LfGPaKI4e0higW8qmO99/OyhC6ldv0hkPAqvJIXPSB CiNg== X-Gm-Message-State: AOJu0YzDbcZiVKWb3MR4yNlf+k2pw2Qq3mK7T5B+JJZcQbvYNFkVRRV7 h/YvWFGskRgwTlp91PsJ/T7y2CiQzJ81yGpYpkr/fA== X-Google-Smtp-Source: AGHT+IFVx6/vFQoxR9nkAX2qfIEKQ4VNIZy8fzETpZGJbftKN7U5aiKVaNB0tsEWc5QzTlru0crJxA== X-Received: by 2002:a6b:6608:0:b0:7b3:95d0:fa5e with SMTP id a8-20020a6b6608000000b007b395d0fa5emr8579223ioc.14.1701116038899; Mon, 27 Nov 2023 12:13:58 -0800 (PST) Received: from murgatroyd (97-122-77-73.hlrn.qwest.net. [97.122.77.73]) by smtp.gmail.com with ESMTPSA id x21-20020a029715000000b0043a20ad93c8sm2562422jai.41.2023.11.27.12.13.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 12:13:58 -0800 (PST) From: Tom Tromey To: Tom Tromey via Gdb-patches Cc: Tom Tromey Subject: Re: [PATCH 0/6] Fix error messages from serial code References: <20230912-serial-exceptions-v1-0-af5097485390@adacore.com> X-Attribution: Tom Date: Mon, 27 Nov 2023 13:13:57 -0700 In-Reply-To: <20230912-serial-exceptions-v1-0-af5097485390@adacore.com> (Tom Tromey via Gdb-patches's message of "Tue, 12 Sep 2023 10:27:47 -0600") Message-ID: <87il5ndke2.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Tom" == Tom Tromey via Gdb-patches writes: Tom> Internal AdaCore testing on a Windows host with a target running on Tom> qemu revealed that remote.c could sometimes display random error Tom> messages. For example, different runs of the same test might display: Tom> Remote communication error. Target disconnected.: Arg list too long. Tom> Remote communication error. Target disconnected.: No error. Tom> Remote communication error. Target disconnected.: Not a directory. Tom> I looked into this and this series is the result. It's hard to be Tom> sure that this completely solves the problem -- there are a lot of Tom> code paths and the errors aren't very reproducible -- but it helps. Tom> Regression tested using native-extended-gdbserver on x86-64 Fedora 36. I'm checking these in. Tom