unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Moritz Wilhelmy <mw-emacs@barfooze.de>
Cc: 31918@debbugs.gnu.org
Subject: bug#31918: 25.3; gud inserts invalid gdb commands
Date: Sat, 23 Jun 2018 18:14:27 +0300	[thread overview]
Message-ID: <83tvpttu0c.fsf@gnu.org> (raw)
In-Reply-To: <87zhzlbl16.fsf@barfooze.de> (message from Moritz Wilhelmy on Sat, 23 Jun 2018 17:05:41 +0200)

> From: Moritz Wilhelmy <mw-emacs@barfooze.de>
> Date: Sat, 23 Jun 2018 17:05:41 +0200
> 
> $ exec ${BR}/output/host/usr/bin/arm-buildroot-linux-musleabi-gdb
> GNU gdb (GDB) 7.10.1
> Copyright (C) 2015 Free Software Foundation, Inc.
> ...
> This GDB was configured as "--host=x86_64-pc-linux-gnu --target=arm-buildroot-linux-musleabi".
> ...
> (gdb) show configuration
> This GDB was configured as follows:
>    configure --host=x86_64-pc-linux-gnu --target=arm-buildroot-linux-musleabi
>              --with-auto-load-dir=$debugdir:$datadir/auto-load
>              --with-auto-load-safe-path=$debugdir:$datadir/auto-load
>              --with-expat
>              --with-gdb-datadir=/home/mw/src/FAME/miro-service.buildroot/output/host/usr/share/gdb (relocatable)
>              --with-jit-reader-dir=/home/mw/src/FAME/miro-service.buildroot/output/host/usr/lib/gdb (relocatable)
>              --without-libunwind-ia64
>              --with-lzma
>              --without-guile
>              --with-separate-debug-dir=/home/mw/src/FAME/miro-service.buildroot/output/host/usr/lib/debug (relocatable)
>              --without-babeltrace
> 
> ("Relocatable" means the directory can be moved with the GDB installation
> tree, and GDB will still find it.)
> (gdb)
> 
> Is there a minimum required gdb version for gdb-mi to work correctly?

GDB 7.0, AFAIK.  But it's possible that some features need a newer
GDB.

If you invoke GDB from the shell with -i=mi, can you reproduce the
problem?

Also, do these commands appear in "info break" output right after you
define the breakpoint, or do you need the breakpoint to break a few
times before that happens?





  reply	other threads:[~2018-06-23 15:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-20 19:34 bug#31918: 25.3; gud inserts invalid gdb commands Moritz Wilhelmy
2018-06-21 14:27 ` Eli Zaretskii
2018-06-23 15:05   ` Moritz Wilhelmy
2018-06-23 15:14     ` Eli Zaretskii [this message]
2018-06-23 16:13       ` Moritz Wilhelmy
2018-06-23 16:31         ` Eli Zaretskii
2019-07-13  3:38           ` Lars Ingebrigtsen

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=83tvpttu0c.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=31918@debbugs.gnu.org \
    --cc=mw-emacs@barfooze.de \
    /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).