From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by sourceware.org (Postfix) with ESMTPS id 9E54E3858D37 for ; Fri, 28 Apr 2023 09:38:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9E54E3858D37 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-x531.google.com with SMTP id 4fb4d7f45d1cf-506c04dd879so16681608a12.3 for ; Fri, 28 Apr 2023 02:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682674689; x=1685266689; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=erCA6LEsSOJxvaO1m5EebDQ3YrExU0ge+fJ5gsCGX2Q=; b=Qehlcu3atqwqsZOY3fBXh3KlvTcOlFsrGexih/MgZV9TxSVUBPbI1cVEpfG1iNFKdH UoJeJXNYMwB22Qlijn3HilJQ5EBaqcZPLUEHIq0+/l4/kXYqjPyW2ICp346EPzGmv4/Q BfirLw6dGU/ZRNDP8KGL3jG/cWAHpW5OHsxWmSKXGOb8tJuA5nd9fNBCOmIJHFHBFf7w ExdFluzK5QtjJmg0S7nTpohR5MCZPnAKGcSjmy27OR6KtHk1gc+WpP6F+G5wRy5yLrD9 5cDC5Bn39sJTM78IJGUW5YluS37V1JHe9lClZdIX2Axz15LBWMWHe3zW70cfJ4YvlstJ 0qlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682674689; x=1685266689; h=cc: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=erCA6LEsSOJxvaO1m5EebDQ3YrExU0ge+fJ5gsCGX2Q=; b=QrcoroY4nl7z1a+mybD/3/Gv5Mo984oryFf/QOykP9vFEcJMjCAP3+bdewK2bHrh1+ GB0U/BaHZmcrgja+Nm7AWZxGzRmD2JnpcNu5x+WPmxu3RJVgm7NFYG4lsPaVVndpukyN m/DLDRTFELFCg11ubOfNKDA2aTI0/xZrrms6lIvQvY/fGAiPSQlkyeQ1IlTypD9ggKFS HJpI75Jdg3GFJzToMbwb6KrV4ujd9TlCT5s6OImNml/4ByvrSCeY3kJT1h5IZP7QDtQd JlJGX9wuRNu1ekacRk/W6PFWYJMSdqOfhBFtzdcYhXhAyuChg7No5AIbv8RVf1fflfIk s4Vw== X-Gm-Message-State: AC+VfDxWqAAVhzvOUUJXkWPQPS5xYT6LEL9KruiPhcbN5ca9mT0mb/0J 7Q0SGFmN3pAKCr12D5rtItlrrOCn8e4Y/6ni2JhP0hd2DdQ= X-Google-Smtp-Source: ACHHUZ4YP2T4GXVzdkCLMajtP8vteFJFSrmDnS3Oea4QHnnj1ZEFX3IheGos+N5LtcXaQX5xH23z7SCFV7JJ8+SW1Vk= X-Received: by 2002:a50:ef15:0:b0:506:747f:3bf0 with SMTP id m21-20020a50ef15000000b00506747f3bf0mr4105769eds.8.1682674689253; Fri, 28 Apr 2023 02:38:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Chris Packham Date: Fri, 28 Apr 2023 21:38:02 +1200 Message-ID: Subject: Re: Problems interrupting remote target on powerpc To: Luis Machado Cc: GDB Mailing list Content-Type: multipart/alternative; boundary="00000000000020238b05fa623b1e" 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: --00000000000020238b05fa623b1e Content-Type: text/plain; charset="UTF-8" On Fri, 28 Apr 2023, 9:19 PM Luis Machado, wrote: > On 4/28/23 10:14, Chris Packham via Gdb wrote: > > 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 > > > >> > > What sort of behavior/output do you see? > I'll capture some proper output when I'm back in the office but basically once I 'continue' I can't get the gdb prompt back with Ctrl+C. > --00000000000020238b05fa623b1e--