unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuri D'Elia via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 69289@debbugs.gnu.org
Subject: bug#69289: 30.0.50; target warnings with gdb mode using gdb 13.2 + arm-cm4
Date: Tue, 20 Feb 2024 19:21:07 +0100	[thread overview]
Message-ID: <87bk8bdmjw.fsf@wavexx.thregr.org> (raw)


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





                 reply	other threads:[~2024-02-20 18:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bk8bdmjw.fsf@wavexx.thregr.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=69289@debbugs.gnu.org \
    --cc=wavexx@thregr.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).