From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id A26nHH5aJGqolDgAWB0awg (envelope-from ) for ; Sat, 06 Jun 2026 13:35:58 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=WJu0WEW7; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 6A5BF1E062; Sat, 06 Jun 2026 13:35:58 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C6DDA1E062 for ; Sat, 06 Jun 2026 13:35:57 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E32814B1A37A for ; Sat, 6 Jun 2026 17:35:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E32814B1A37A Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=WJu0WEW7 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id B99A04C31823 for ; Sat, 6 Jun 2026 17:35:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B99A04C31823 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B99A04C31823 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780767320; cv=none; b=WuUqZ2d0rb8BFJubxV9FKXcC7oYETr8lnWmdDroKQDWoNBgH5JFEbeOXGa9gRRwgv13GpoaCMLemuxB7A61OuNd4EskXn4QUZJKdZm+Es7RrVhPy0YcqL1zsW5LrSxnw6UOsrnvSk2uYFRSmygcO8HW+5eu2xI2245qoKtaeqKg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780767320; c=relaxed/simple; bh=vgvYJSj8ULkkK/lN+RyQjdDQyZkc+CHctvfQ672ydis=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ghSs2ahE9eRwqKjgc3IA4Gh1e2AwyR1BxqawZgDv33UUxqa/wB9Vz9nTW8JTTNDX2hPzWPCib7jHVeINFbokFu8TmYre0tn3ah4vQ4SE8foeAx2EbC1iySyY6U4vSWfg2mP8Dw7qRaNwS6EmLrqFUSMVBDUTyqOqidF/Tahe0dw= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=WJu0WEW7 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B99A04C31823 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1780767320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rjjLgtU7cWnEbGy8nFO9oFA26Wrun9XaWetf/k3q/68=; b=WJu0WEW7sKKsmArFstwniWzQzNWj2P/Xp3fxiKI5MvCOGOI8x8JtIYmDAW6ajPLcxEdAOi 22QgypVtjhTW99jJEC3LVF1XtY4bxpNWcDGHtxKVgFgeB9x2n00m9V23XaNWIo0pRKydcq 2Se3157m8SNM9zEpWy5N3dkbniEJJCE= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-139-lyHaUiNMNzq2tHFnoBJQjA-1; Sat, 06 Jun 2026 13:35:19 -0400 X-MC-Unique: lyHaUiNMNzq2tHFnoBJQjA-1 X-Mimecast-MFC-AGG-ID: lyHaUiNMNzq2tHFnoBJQjA_1780767318 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-490c4f61a34so8418735e9.2 for ; Sat, 06 Jun 2026 10:35:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780767318; x=1781372118; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rjjLgtU7cWnEbGy8nFO9oFA26Wrun9XaWetf/k3q/68=; b=VC8Qwadfqgdyl9dh/lxdHw+wcjdEhE0AITqm0ZuoAXYg4orxDeSTCqyuiHgRrLiWMf Op992FZY0awl5Zv0HLMYk9a+kCu10Puz82Tby07AIK/FqYONt886gJD0HyemQam1+aVG aBhWVZZkYWktXy8xgtDZ3dtW5F5gQKW1ggtguUBGPQi7firepU2pYGFDn14dSvey34dg WLwSSBUnVuPYxbjHdN0lfQDgrFTSvyWqBPxJ6RhwJTgtOdIFj3f2jsEBnxYRi8wgZ6+B mP7igNVhCjJ3BIgj4It2S8Ke0c6z+0Xr+w6X6neSy3N47OdpBuIXg0Yigcjy2LIu9iRt m5mQ== X-Forwarded-Encrypted: i=1; AFNElJ+vyKr9bxgUdyH8pzJvcC4ebPwjkN/TnEZmRluFHqbsq+YG/ks231/6SUuW5nArjjCAKCzpZaAD+KavZw==@sourceware.org X-Gm-Message-State: AOJu0Yzum9paBGjwW/xFwzQKwHMD4zQ/nwLxkoBKT4QyTZw/j4PpSMkT EM+XO8HK+amUtkuMO7Nm4BZXxxywEWvDVZCchvlqCjKxpgvPrGTdxBDMPlpU/wXNqMTJo7HYynK p8L20da3FLiazn2NTr3/JQuo8WetH6ZTr3Hpkb1eSak+70lhIjvtR+s5Y/1TE9Oc= X-Gm-Gg: Acq92OFwzrEVA7JeNscbQpPfWq4Tr8R/TjhUfjCjxSd7RKkjtaeAWds5GMA1aVg/lUS GcbV2GlVc/3OQESP/Gzxf3pd9ko+ShqSeRSswmwALq2nOnKH3wJMs+8SEjgC45BtCTnf2aVRKU8 YoEx3J3bROQ+LmLAtujXB4dBr+V1+KPn94OrYkLdE72SLLqJwN+btTBuUHVrCi1NvS69BSOfQPZ HAjam93KwNVK/iKmTPYmqJXT5PDkRZkqOtU1RWgF78VcWEdTSw+Ckz8I8WYOfinzbejmmdRHrRN 5W9Z5yqMQgYNZnyjVCjfXLKHSrfM4xE3aRwILpx13Y+AfY1FOirfbcGPjuj2rWDJTR1STnzPxSR yyP7JvoDuQv81Ysk7brRLQjMdRA== X-Received: by 2002:a05:600c:a117:b0:490:c2a3:3302 with SMTP id 5b1f17b1804b1-490c2a3336dmr98918355e9.35.1780767317889; Sat, 06 Jun 2026 10:35:17 -0700 (PDT) X-Received: by 2002:a05:600c:a117:b0:490:c2a3:3302 with SMTP id 5b1f17b1804b1-490c2a3336dmr98917985e9.35.1780767317186; Sat, 06 Jun 2026 10:35:17 -0700 (PDT) Received: from localhost ([213.31.44.97]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4601f3444fesm37816168f8f.20.2026.06.06.10.35.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jun 2026 10:35:16 -0700 (PDT) From: Andrew Burgess To: Lancelot SIX , gdb-patches@sourceware.org Subject: Re: [PATCH] gdb/python: fix 'exited' event when GDB exits from core file debugging In-Reply-To: References: Date: Sat, 06 Jun 2026 18:35:16 +0100 Message-ID: <87tsrfr2qz.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: _p6xjBuF_iRLkKp-7rohmQX6dtsfudTEoOp_01uOQ-8_1780767318 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Lancelot SIX writes: > Hi Andrew, > > Thanks for the quick turnaround! > > FYI, when applying the patch, git reports: > > ``` > Applying: gdb/python: fix 'exited' event when GDB exits from core file=20 > debugging > .git/rebase-apply/patch:127: indent with spaces. > "python print(str(gdb.selected_inferior()))" ""] > .git/rebase-apply/patch:133: indent with spaces. > set inferior_string $expect_out(1,string) > .git/rebase-apply/patch:134: indent with spaces. > incr event_count > .git/rebase-apply/patch:135: indent with spaces. > exp_continue > .git/rebase-apply/patch:139: indent with spaces. > verbose -log "GDB has now exited" > warning: squelched 7 whitespace errors > warning: 12 lines add whitespace errors. > ``` This seems odd, I checked my local patch and I'm pretty sure that these lines are using tabs then spaces, and the email I sent also appears to be using tabs as far as I can tell. I sent a V2 patch, if you are still seeing this issue there then please let me know and I can try to figure out what's gone wrong. > > I expect you could have GDB=E2=80=AFcreate the coredump instead of relyin= g on=20 > the kernel for this. This allows this test to run on systems where=20 > kernel.core_pattern is not set in a way supported by the testsuite: > I took this advice for V2, thank you for the suggestion. Thanks, Andrew