From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by sourceware.org (Postfix) with ESMTPS id 350153858D1E for ; Wed, 20 Sep 2023 18:00:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 350153858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-402c46c49f4so967425e9.1 for ; Wed, 20 Sep 2023 11:00:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695232802; x=1695837602; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nrmcWJz280mvDrczcdKMM4tCJ2zkiLUYS7ekUJo49p4=; b=SO4S7SOFbt+5vARB64KPUOxhyO37EuIh0L6cGqON79DRxlyUC9F1wckIBMya5XuPZq G8FEm+8vplPYC8vjWXm5chNFQcegSw/3c8Fj7Gsbt/YFeDQT6XszPRDYWsZFOcpYcHjK 1a9CmBL2ojOJoUQ3Ty3paXi0h9C/+u78dtAJpKNBR+3O3JzdYD4+tVIR3xK8JVDkE8ma UMvCPS0ODoCaRkxk7gSS3q9Mj8gcmsvVVuzHo70a+ENM/WKhV7m0ki1zuhRqtj29XBU6 ugPGoSkiQdEe812oTMfAdudTZunaDvKgLQCReh+8ka+gIh1CY6CM9tKfQyKbT6pu2Ylh 4apw== X-Gm-Message-State: AOJu0YyOLvI7YLuoHJxMpcICldvQxvvTMTsr21lDgB/mWflp/vq8pv+8 zYFTivxByskndHdzPC7DMqDf7ruNQgmEUg== X-Google-Smtp-Source: AGHT+IGb3pvi4IrEIS6N4+Cnxc7G7os16/CJyhriMSiZwbdruPB2Ef3Stvy38IzzFl6ntXnsaAux/g== X-Received: by 2002:a7b:cbc5:0:b0:401:cf0d:25cd with SMTP id n5-20020a7bcbc5000000b00401cf0d25cdmr3127455wmi.22.1695232801671; Wed, 20 Sep 2023 11:00:01 -0700 (PDT) Received: from localhost ([2001:8a0:f939:d200:f66d:9e3b:9c38:4aec]) by smtp.gmail.com with UTF8SMTPSA id 23-20020a05600c025700b004047f3b73f9sm2587001wmj.21.2023.09.20.11.00.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 11:00:01 -0700 (PDT) From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 0/5] Adjust/fix gdb.thread/pthreads.exp for Cygwin Date: Wed, 20 Sep 2023 18:59:54 +0100 Message-Id: <20230920175959.2305271-1-pedro@palves.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This set of patches improves gdb.thread/pthreads.exp when testing against Cygwin. The test still won't pass cleanly [1] without some GDB fixes (which I plan on submitting later at some point), but if you run it against the GDB distributed with Cygwin, at least, it passes (they have some local GDB patches missing upstream). [1] - it fails with: FAIL: gdb.threads/pthreads.exp: Stopped with a ^C (timeout) WARNING: Could not stop child with ^C; skipping rest of tests. Pedro Alves (5): gdb.threads/pthreads.c, K&R -> ANSI function style Fix gdb.threads/pthreads.c formatting Fix gdb.threads/pthreads.exp error handling/printing In gdb.threads/pthreads.c, handle pthread_attr_setscope ENOTSUP Adjust gdb.thread/pthreads.exp for Cygwin gdb/testsuite/gdb.threads/pthreads.c | 86 ++++++++++++++++---------- gdb/testsuite/gdb.threads/pthreads.exp | 14 ++--- 2 files changed, 60 insertions(+), 40 deletions(-) base-commit: 093da43d2adb4497dfec8afbb4eeaf2425668fdd -- 2.34.1