From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31918: 25.3; gud inserts invalid gdb commands Date: Sat, 23 Jun 2018 18:14:27 +0300 Message-ID: <83tvpttu0c.fsf@gnu.org> References: <871sd1ckvf.fsf@barfooze.de> <831sd0rz9l.fsf@gnu.org> <87zhzlbl16.fsf@barfooze.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1529766790 28037 195.159.176.226 (23 Jun 2018 15:13:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2018 15:13:10 +0000 (UTC) Cc: 31918@debbugs.gnu.org To: Moritz Wilhelmy Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 23 17:13:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWkDq-00078m-AS for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2018 17:13:06 +0200 Original-Received: from localhost ([::1]:38837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWkFx-0006HK-G6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2018 11:15:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWkFl-0006Fs-L5 for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 11:15:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWkFi-0007Lx-Hg for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 11:15:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53685) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWkFi-0007Ls-DE for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 11:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWkFi-00081q-5V for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 11:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jun 2018 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31918 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31918-submit@debbugs.gnu.org id=B31918.152976686630802 (code B ref 31918); Sat, 23 Jun 2018 15:15:02 +0000 Original-Received: (at 31918) by debbugs.gnu.org; 23 Jun 2018 15:14:26 +0000 Original-Received: from localhost ([127.0.0.1]:33349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWkF8-00080k-6l for submit@debbugs.gnu.org; Sat, 23 Jun 2018 11:14:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWkF6-00080X-9A for 31918@debbugs.gnu.org; Sat, 23 Jun 2018 11:14:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWkEx-0007FN-TR for 31918@debbugs.gnu.org; Sat, 23 Jun 2018 11:14:19 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWkEx-0007FG-PR; Sat, 23 Jun 2018 11:14:15 -0400 Original-Received: from [176.228.60.248] (port=1889 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fWkEx-00032S-8o; Sat, 23 Jun 2018 11:14:15 -0400 In-reply-to: <87zhzlbl16.fsf@barfooze.de> (message from Moritz Wilhelmy on Sat, 23 Jun 2018 17:05:41 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147774 Archived-At: > From: Moritz Wilhelmy > 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?