From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by sourceware.org (Postfix) with ESMTPS id 4000F3858D20 for ; Tue, 27 Feb 2024 16:56:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4000F3858D20 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine 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 4000F3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::12b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709052977; cv=none; b=duTFcJd3Empi66mwQZ+dQiklSf/VEs6GkBlwJQF7FM4Oc+inG2iN5K/AL+mXHBn/szFMoi5QeOqB5yNfqtYWkmVEkbs++P++FJsGkxh0BsFqirviWIbsBlYE6maL0/NjFNz/d3gABevlpTYoiV1hxrCEx5aQp4zJdXnkdedQWZM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709052977; c=relaxed/simple; bh=kYvPcwcQiBNUwzbU5TPyTaLH964cxPkoIjpUva99D68=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=i8DenhxMGd98s7o1P/W8MP6MGkGB49NMjQYPodKmJSYMuV5Ogn4xEXITLWzHwVH5kjzaXBWCUNtdTcPisu9mhFoR9TrQ7Taj/HMcoM7jUaeF9oUTqTkDCKMVBo33OLM/U6ml3KcAQdGUb4NJ95dnkh/IaJgrQNoQ3uhirHZ1PXo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-il1-x12b.google.com with SMTP id e9e14a558f8ab-364f791a428so15452955ab.3 for ; Tue, 27 Feb 2024 08:56:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1709052974; x=1709657774; 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=gV4eRefsoNyhgdvmdDuhlF5jsgwF78MsU45gUjwTCaY=; b=JWV5silvAluMYI/N/NQZkSy4Gi1LTbwYmy+3ApM99cZhu8rq75zS2R21MdxTFS9kDx Nde361wK1D6sbV9svd5Ka+cR6bWrX3CElJlt0fut47y+0tUyrcjAx8GHG54R1lSsP1+R I+wVO290HLiOXF4eTj/18F5eKTF69Yy5ul+gHgl5nWXA6MdWQEiOhi6akvCZtCSvQYZa Ea75Gj9HDdd4JZ1YAfuvJO/mD9UkHMMUTz4SLEgvlr203xSjCu2efLjtR/y2618MaVjl asNhFHkDO3I4+9+1xkU1sxOk7TLs5ql3ntcy6kpkIXekxH2d/5WzLc8jyfErinEBWnLn PucQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709052974; x=1709657774; 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=gV4eRefsoNyhgdvmdDuhlF5jsgwF78MsU45gUjwTCaY=; b=N5ZA8ERFAza3KDVMQOWaDrQD15YzByaqhdGCaKHDN/F8qTcKV/kRwwhN0q+tRksaFa DfrchrGTAlGBOdqGyXsEEzDhHVanxIiuPsquBxCoqzTO/xILEiQMW1tP5zoP1593z1YH orEoRmJtKr2UAnFzk01lgCwkJ7IhByZOzsALs8hx9QtKBQuY0JqsKk+e87MpbbpxjKMo otCUQkJxgaAWMdi/p7kGE0JnjW63eT9Qmf607gRUIu8iqAjGP/5oqpj2sodwFSYiq0aQ tGGeEmc1TlhHXAoHoIwfYLRA8SHKzD9nY4N90PucSmyg1Tx5VNziwvro/xjwSooijXUE aC6w== X-Gm-Message-State: AOJu0YyUuGUVte2+ZoWl6JpON5Ny14M0+0EnpJDroU18KOV4xzcL4P6K wGfKHwFoJS2/mFjE+YdjzuuSZMjvC9TSMcgzzaZoMzsjvhujZina25Qdqbomwg== X-Google-Smtp-Source: AGHT+IGTOkUhGTvsJ9Dh1Ohb3UfG9pZxFcEr3GyRcnvAgyUkERDB/H8bvOlWK/U2moPBaevI8aEd9A== X-Received: by 2002:a92:cf4b:0:b0:365:da4:ec9d with SMTP id c11-20020a92cf4b000000b003650da4ec9dmr11338959ilr.15.1709052974428; Tue, 27 Feb 2024 08:56:14 -0800 (PST) Received: from murgatroyd (71-211-170-195.hlrn.qwest.net. [71.211.170.195]) by smtp.gmail.com with ESMTPSA id j6-20020a05663822c600b00474895385c0sm1059773jat.109.2024.02.27.08.56.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 08:56:14 -0800 (PST) From: Tom Tromey To: Tom Tromey Cc: gdb-patches@sourceware.org, Tom de Vries Subject: Re: [PATCH v4 0/4] Fix DAP pause bug References: <20240227-py-simple-exc-v4-0-3341d342c126@adacore.com> X-Attribution: Tom Date: Tue, 27 Feb 2024 09:56:12 -0700 In-Reply-To: <20240227-py-simple-exc-v4-0-3341d342c126@adacore.com> (Tom Tromey's message of "Tue, 27 Feb 2024 07:45:48 -0700") Message-ID: <87il29vob7.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.4 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 writes: Tom> Tom de Vries pointed out that the DAP pause.exp test wasn't actually Tom> testing interruption of Python. Digging into this revealed that the Tom> "python" and "source" commands don't handle Python exceptions in the Tom> normal way (in gdb terms). Tom> This series changes how these are implemented and fixes the original Tom> problem that Tom pointed out. Tom> Tested on x86-64 Fedora 38. I'm going to check this in now. Tom