From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by sourceware.org (Postfix) with ESMTPS id 055533858C31 for ; Fri, 28 Apr 2023 09:14:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 055533858C31 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-50506111a6eso17601043a12.1 for ; Fri, 28 Apr 2023 02:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682673270; x=1685265270; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=o6qDrS2v6Tj4xHAJ4QRaGlwumR6aUf7u+m2GF1yPe1c=; b=RXj2s3R+1LO0nb7Ezg3QotX9m47nCGjp+pLwwrXoGBRDiN8FGt8pE7fqcHyvyTSFNp mitwc54h6uoWu9DDbMifY0vwCSxwvVCeD7Q8WfZtlFlniuUW4w/0eOHbxoLIl/RQpZZ6 Z67GTXk+VsDE7OEm2Oz3ZCN6XlWm0b1S2EJnQy/m9xc7YTYyW4bSToqCiHs3AH5i3htp Pc/+3RVTDhuUtBzaVtPfAtVvVvy61ut+FOjlLyQIDXdAb8QqaFu+4bHaNeXKMYYizsjn A2pS09CGipMX/Q0E6Xl3+hpeUtRFn+BAp04OiTg15P81y9FJh3NKL3vU2UXlF1Baxrx+ unsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682673270; x=1685265270; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=o6qDrS2v6Tj4xHAJ4QRaGlwumR6aUf7u+m2GF1yPe1c=; b=MWUbnh9zdbXP8iITboeJ95v5SSVNw23UcQSKKXeYYfSU54hH1/Q+Pr2GOPEb5NaF5+ gfSg8M9SFCVLxy1175tUG+tuIc7WqpqDHzAa9xoxeuRHzjvMwxcbyIxksfx/2p1/zoKB Oc1l2gtielSq3XXHsj97nZtfHq4ntmIeXcvKcEzqQ5fA3tP4DAQu0KN+FI/KUZpALHkW 4Hbe216aXvW2BWUz3cbnTIrpZVHD0bxHkUlXIavH6UY9kD0zrnltzCTHurn26OfIbC+V wR54OV7/r3/GZh/mAJg0WWV56KCa+6IAQlYZUmp+HwfN/l3i+tuyNWntRlAWYSOgtgRp UZNg== X-Gm-Message-State: AC+VfDzJzL2OLmkziL7C6WrSCf/x0zugANH6ZZWss3xwgK6NC982sVN+ yXwYVILkJ6xjNv39UgE4K4sxUXTDlw7vOYjp1eGtZhPgQhQ= X-Google-Smtp-Source: ACHHUZ5ZKM7i3AJmOFz5Zux5gx6LQtmqnHCDl4pXV5zi4TB6VvaIL7WIwCbEfeT1YiUJ4ivOsMPlfCSRNErAH2iOvdM= X-Received: by 2002:aa7:cccb:0:b0:50a:2e0:eef8 with SMTP id y11-20020aa7cccb000000b0050a02e0eef8mr4044746edt.21.1682673269636; Fri, 28 Apr 2023 02:14:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Chris Packham Date: Fri, 28 Apr 2023 21:14:22 +1200 Message-ID: Subject: Re: Problems interrupting remote target on powerpc To: GDB Mailing list Content-Type: multipart/alternative; boundary="00000000000082849405fa61e6d5" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,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: --00000000000082849405fa61e6d5 Content-Type: text/plain; charset="UTF-8" On Thu, 27 Apr 2023, 4:55 PM Chris Packham, wrote: > Hi GDB, > > I've had a few users report to me issues with interrupting a running > process after continuing when attached to a remote gdbserver running > on a powerpc target. Everything seems to work properly on arm and > aarch64 so there might be some powerpc or big-endian specific issue > lurking. > > The gdbserver version we're currently using is from gdb-11.2 built > from source and most users have gdb-multiarch 12.1 from ubuntu 22.04 > (some might still be using gdb-multiarch 10.2 from a PPA). > > Does this ring any bells for anyone? I'm going to try and get hold of > a powerpc target to test with to see if I can reproduce it for myself. > > Thanks, > Chris > Did some digging of my own I can report that indeed things aren't working well for powerpc. I tried updating gdbserver to 12.1 and 13.1. 12.1 was much the same as 11.2. 13.1 reported that it was unable to send sigkill when processing the interrupt command. 13.1 also seems not to be able to respond to the 'info os processes' command from the gdb client > --00000000000082849405fa61e6d5--