GNU bug report logs - #69289
30.0.50; target warnings with gdb mode using gdb 13.2 + arm-cm4

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Yuri D'Elia <wavexx@HIDDEN>; dated Tue, 20 Feb 2024 18:22:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Feb 2024 18:21:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 20 13:21:44 2024
Received: from localhost ([127.0.0.1]:46525 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rcUkS-0000QG-8r
	for submit <at> debbugs.gnu.org; Tue, 20 Feb 2024 13:21:44 -0500
Received: from lists.gnu.org ([209.51.188.17]:54926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wavexx@HIDDEN>) id 1rcUkN-0000Py-Ry
 for submit <at> debbugs.gnu.org; Tue, 20 Feb 2024 13:21:42 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <wavexx@HIDDEN>) id 1rcUk1-0001Jh-Id
 for bug-gnu-emacs@HIDDEN; Tue, 20 Feb 2024 13:21:17 -0500
Received: from erc.thregr.org ([2001:41c9:1:41f::63])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <wavexx@HIDDEN>) id 1rcUjx-0003Td-Ev
 for bug-gnu-emacs@HIDDEN; Tue, 20 Feb 2024 13:21:17 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thregr.org; 
 s=v1;
 h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:Sender:
 Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=NKKMQXY2AhV25K7EessR0AAVdr7pQSoAq7mGI/UzqeA=; b=f7D/5XaIkYcgpsYOSUJHErnIsu
 bGz9dGEeR1kepl0LyF/0zmLCk4T7yN2YEz/kCNaeaDQgt0B3UIRDK8oA3lcDO7vS+Q2JcILb4EaCc
 mTAnyVRWvx1dDPk7BaRJb8gixSDAoji8Geb9AEiXEciqpKZV2xrVcwb5VYoMxoWDQgLdNI9ii3IuK
 fw69fIp9jGnTt+WNWzH8FUWEQ1O/baoEWp1Sg+Y0rVYRcnLUd+A2ze7DPKKv1Uf0Nt+B507bI9fTi
 vOcmFWwVhC6MANiTchtBheAvLFsGGyAYOZtEaAxIizOFDwdOzViLKCA276HeBd/gmX4gxNq52ngwV
 JF0ufqDA==;
Received: from [78.209.74.87] (helo=localhost) by erc.thregr.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 id 1rcUjq-00000000uaw-3h5S (envelope-from <wavexx@HIDDEN>)
 for bug-gnu-emacs@HIDDEN; Tue, 20 Feb 2024 19:21:07 +0100
From: Yuri D'Elia <wavexx@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; target warnings with gdb mode using gdb 13.2 + arm-cm4
User-Agent: mu4e 1.11.27; emacs 30.0.50
X-Debbugs-Cc: 
Date: Tue, 20 Feb 2024 19:21:07 +0100
Message-ID: <87bk8bdmjw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
Received-SPF: pass client-ip=2001:41c9:1:41f::63;
 envelope-from=wavexx@HIDDEN; helo=erc.thregr.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.2 (-----)


I'm debugging an arm core m4 target with gdb 13.2. When debugging 
this
target under `gdb' it spews the following warning:

  warning: Invalid state, unable to determine sp alias, assuming 
  msp.

This happens at every prompt, usually multiple times, in the main 
gdb
inferior buffer, making debugging pretty annoying as it breaks the
prompt:

  (gdb) warning: Invalid state, unable to determine sp alias, 
  assuming msp.
  warning: Invalid state, unable to determine sp alias, assuming 
  msp.
  warning: Invalid state, unable to determine sp alias, assuming 
  msp.

When I use gud-gdb instead there is no warning, but I loose some
functionality I wish I could use in gdb-mi.

Searching through gdb's source it seems that this warning is 
hardcoded,
but I have no clue exactly what command is being issue to cause 
it. When
I debug through gdb's prompt (without emacs) I actually can't see 
it.

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, 
cairo
 version 1.18.0, Xaw scroll bars) of 2024-02-20 built on t14g2
Repository revision: a1cbc4d810bc1b525fa46b23249b414c1ad6b031
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 
11.0.12101011
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure --with-x-toolkit=lucid --with-native-compilation=aot
 --without-gsettings --with-small-ja-dic 'CFLAGS=-O3 -flto 
 -march=native
 -pipe ' 'LDFLAGS=-fuse-ld=mold -flto''
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON 
LCMS2
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY 
INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF 
TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM LUCID ZLIB
Important settings:
  value of $LC_COLLATE: C
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LANG: en_DK.UTF-8
  locale-coding-system: utf-8-unix




Acknowledgement sent to Yuri D'Elia <wavexx@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#69289; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 1 Mar 2025 03:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.