From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Steven Legowik Newsgroups: gmane.emacs.bugs Subject: bug#32576: 24.5; cannot end gdb breakpoint command list Date: Wed, 29 Aug 2018 10:37:16 -0400 Message-ID: <5a60e9e2-2d56-6b93-0508-36eace956ef1@roboticresearch.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1535556200 2021 195.159.176.226 (29 Aug 2018 15:23:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2018 15:23:20 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 To: 32576@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 29 17:23:16 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 1fv2JO-0000P3-Ik for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Aug 2018 17:23:14 +0200 Original-Received: from localhost ([::1]:43575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fv2LU-0000H7-SC for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Aug 2018 11:25:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fv2LD-00007X-MN for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2018 11:25:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fv2LA-0002eI-Ca for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2018 11:25:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60496) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fv2LA-0002e3-5f for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2018 11:25:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fv2L8-0005nz-Cx for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2018 11:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Steven Legowik Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Aug 2018 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32576 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153555628722282 (code B ref -1); Wed, 29 Aug 2018 15:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Aug 2018 15:24:47 +0000 Original-Received: from localhost ([127.0.0.1]:37281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fv2Kt-0005nI-0o for submit@debbugs.gnu.org; Wed, 29 Aug 2018 11:24:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fv1b9-0004fH-Rz for submit@debbugs.gnu.org; Wed, 29 Aug 2018 10:37:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fv1b3-0001GT-DU for submit@debbugs.gnu.org; Wed, 29 Aug 2018 10:37:26 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37329) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fv1b3-0001GN-A6 for submit@debbugs.gnu.org; Wed, 29 Aug 2018 10:37:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fv1b2-00005u-3K for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2018 10:37:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fv1ax-0001Ds-4s for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2018 10:37:24 -0400 Original-Received: from mail.roboticresearch.com ([198.207.29.151]:33740) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fv1aw-0001D5-UL for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2018 10:37:19 -0400 Original-Received: from [172.20.19.60] (unknown [168.235.181.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.roboticresearch.com (Postfix) with ESMTPSA id 2D1911E461 for ; Wed, 29 Aug 2018 10:37:17 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=roboticresearch.com; s=mail; t=1535553437; bh=z8XSN/h5d5vFeRYPY2GL58Bc7WrBOqr3Yhu/uNkl62Q=; h=To:From:Subject:Date:From; b=QDZAww2rCeKkyUY2F4KF3xTHHLLLr+Z3VhlRgTvLrrIOaHOCnEs77eqW9dTM4tYVP xYg/tbHWnlzxjn2AeqetfFs07ATb5IRWRR18VpEkNCTfwnyvEpD9dbNwKonlT++GT5 eSHMqWYv2voQiFDm3nWE40YyRBkszDmxxtyCExfA= Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 29 Aug 2018 11:24:45 -0400 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:149834 Archived-At: When running gdb in emacs I cannot terminate a breakpoint command list.=C2= =A0=20 It says to terminate the command list by typing "end" by itself on a=20 line, but when I do it continues to prompt for additional commands.=C2=A0= I=20 can get out of this mode using ctrl-C, but the breakpoint commands are=20 not saved. Example: (gdb) i b Num=C2=A0=C2=A0=C2=A0=C2=A0 Type=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 Disp Enb Address=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 What 3=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 breakpoint=C2=A0=C2=A0=C2=A0=C2=A0 = keep y=C2=A0=C2=A0 0x000000000043893b in=20 add_rrmsg_to_vector(msg_t const*) at springsolver.cc:2496 =C2=A0=C2=A0=C2=A0 breakpoint already hit 5 times (gdb) command 3 Type commands for breakpoint(s) 3, one per line. End with a line saying just "end". >print *_msg->msg >end > > > >=C2=A0 C-c C-cQuit (gdb) In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) =C2=A0of 2017-09-20 on lcy01-07, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.1190600= 0 System Description:=C2=A0=C2=A0=C2=A0 Ubuntu 16.04.5 LTS Configured using: =C2=A0`configure --build x86_64-linux-gnu --prefix=3D/usr =C2=A0--sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib =C2=A0--localstatedir=3D/var/lib --infodir=3D/usr/share/info =C2=A0--mandir=3D/usr/share/man --with-pop=3Dyes =C2=A0--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/= emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24= .5/site-lisp:/usr/share/emacs/site-lisp =C2=A0--build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/l= ib =C2=A0--libexecdir=3D/usr/lib --localstatedir=3D/var/lib =C2=A0--infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3D= yes =C2=A0--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/= emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24= .5/site-lisp:/usr/share/emacs/site-lisp =C2=A0--with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars =C2=A0'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat =C2=A0-Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time =C2=A0-D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,= relro'' Important settings: =C2=A0 value of $LANG: en_US.UTF-8 =C2=A0 value of $XMODIFIERS: @im=3Dibus =C2=A0 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: =C2=A0 tooltip-mode: t =C2=A0 electric-indent-mode: t =C2=A0 mouse-wheel-mode: t =C2=A0 tool-bar-mode: t =C2=A0 menu-bar-mode: t =C2=A0 file-name-shadow-mode: t =C2=A0 global-font-lock-mode: t =C2=A0 font-lock-mode: t =C2=A0 blink-cursor-mode: t =C2=A0 auto-composition-mode: t =C2=A0 auto-encryption-mode: t =C2=A0 auto-compression-mode: t =C2=A0 line-number-mode: t =C2=A0 transient-mark-mode: t Recent messages: Mark set Switched to thread 1 [2 times] Mark set Quit Switched to thread 1 No breakpoints specified. Quit [3 times] Undefined command: "v".=C2=A0 Try "help". Switched to thread 1 [4 times] Quit Load-path shadows: /usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides=20 /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs/24.5/site-lisp/debian-startup hides=20 /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/site-lisp/rst hides=20 /usr/share/emacs/24.5/lisp/textmodes/rst Features: (shadow sort warnings emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils dired-aux dired mail-extr ffap thingatpt url-parse auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core gnus-util mm-util help-fns mail-prsvr password-cache url-vars sh-script smie executable help-mode rect misearch multi-isearch gdb-mi bindat json vc-dispatcher vc-svn cc-langs cl-loaddefs cl-lib cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs gud easy-mmode comint ansi-color ring time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 175827 13072) =C2=A0(symbols 48 24162 0) =C2=A0(miscs 40 155 347) =C2=A0(strings 32 34451 6965) =C2=A0(string-bytes 1 1072976) =C2=A0(vectors 16 16849) =C2=A0(vector-slots 8 484391 11255) =C2=A0(floats 8 83 360) =C2=A0(intervals 56 4594 50) =C2=A0(buffers 960 22) =C2=A0(heap 1024 66220 945))