GNU bug report logs - #32576
24.5; cannot end gdb breakpoint command list

Previous Next

Package: emacs;

Reported by: Steven Legowik <legowik <at> roboticresearch.com>

Date: Wed, 29 Aug 2018 15:25:02 UTC

Severity: minor

Merged with 13303, 13569, 20807

Found in versions 24.2.91, 24.3.50, 24.5, 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32576 in the body.
You can then email your comments to 32576 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32576; Package emacs. (Wed, 29 Aug 2018 15:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Steven Legowik <legowik <at> roboticresearch.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 29 Aug 2018 15:25:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Steven Legowik <legowik <at> roboticresearch.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; cannot end gdb breakpoint command list
Date: Wed, 29 Aug 2018 10:37:16 -0400
When running gdb in emacs I cannot terminate a breakpoint command list.  
It says to terminate the command list by typing "end" by itself on a 
line, but when I do it continues to prompt for additional commands.  I 
can get out of this mode using ctrl-C, but the breakpoint commands are 
not saved.

Example:

(gdb) i b
Num     Type           Disp Enb Address            What
3       breakpoint     keep y   0x000000000043893b in 
add_rrmsg_to_vector(msg_t const*) at springsolver.cc:2496
    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
>
>
>
>  C-c C-cQuit
(gdb)


In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2017-09-20 on lcy01-07, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11906000
System Description:    Ubuntu 16.04.5 LTS

Configured using:
 `configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/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
 --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/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
 --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat
 -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Debugger

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  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".  Try "help".
Switched to thread 1 [4 times]
Quit

Load-path shadows:
/usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides 
/usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs/24.5/site-lisp/debian-startup hides 
/usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/site-lisp/rst hides 
/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)
 (symbols 48 24162 0)
 (miscs 40 155 347)
 (strings 32 34451 6965)
 (string-bytes 1 1072976)
 (vectors 16 16849)
 (vector-slots 8 484391 11255)
 (floats 8 83 360)
 (intervals 56 4594 50)
 (buffers 960 22)
 (heap 1024 66220 945))





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32576; Package emacs. (Wed, 29 Aug 2018 16:14:02 GMT) Full text and rfc822 format available.

Message #8 received at 32576 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Steven Legowik <legowik <at> roboticresearch.com>
Cc: 32576 <at> debbugs.gnu.org
Subject: Re: bug#32576: 24.5; cannot end gdb breakpoint command list
Date: Wed, 29 Aug 2018 19:13:38 +0300
> From: Steven Legowik <legowik <at> roboticresearch.com>
> Date: Wed, 29 Aug 2018 10:37:16 -0400
> 
> When running gdb in emacs I cannot terminate a breakpoint command list.  
> It says to terminate the command list by typing "end" by itself on a 
> line, but when I do it continues to prompt for additional commands.  I 
> can get out of this mode using ctrl-C, but the breakpoint commands are 
> not saved.

I think this has been fixed in later versions of Emacs.  Can you try
Emacs 26.1, the latest released version, or the current emacs-26
branch of the Emacs repository?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32576; Package emacs. (Wed, 29 Aug 2018 18:12:02 GMT) Full text and rfc822 format available.

Message #11 received at 32576 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32576 <at> debbugs.gnu.org, Steven Legowik <legowik <at> roboticresearch.com>
Subject: Re: bug#32576: 24.5; cannot end gdb breakpoint command list
Date: Wed, 29 Aug 2018 14:11:13 -0400
AFAICS it remains broken in master.
You have to type "commands" not "command" to get it to work.
gdb-control-commands-regexp doesn't handle abbreviations.

This is a duplicate of bug#20807.




bug Marked as found in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 29 Aug 2018 18:13:01 GMT) Full text and rfc822 format available.

Forcibly Merged 13569 20807 32576. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 29 Aug 2018 18:13:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32576; Package emacs. (Wed, 29 Aug 2018 18:46:01 GMT) Full text and rfc822 format available.

Message #18 received at 32576 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 32576 <at> debbugs.gnu.org, legowik <at> roboticresearch.com
Subject: Re: bug#32576: 24.5; cannot end gdb breakpoint command list
Date: Wed, 29 Aug 2018 21:45:01 +0300
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: Steven Legowik <legowik <at> roboticresearch.com>,  32576 <at> debbugs.gnu.org
> Date: Wed, 29 Aug 2018 14:11:13 -0400
> 
> 
> AFAICS it remains broken in master.
> You have to type "commands" not "command" to get it to work.
> gdb-control-commands-regexp doesn't handle abbreviations.
> 
> This is a duplicate of bug#20807.

If that's the problem, I wonder why no one fixed it until now.




Forcibly Merged 13303 13569 20807 32576. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 29 Aug 2018 23:16:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32576; Package emacs. (Thu, 30 Aug 2018 05:59:02 GMT) Full text and rfc822 format available.

Message #23 received at 32576 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32576 <at> debbugs.gnu.org, legowik <at> roboticresearch.com
Subject: Re: bug#32576: 24.5; cannot end gdb breakpoint command list
Date: Thu, 30 Aug 2018 01:57:53 -0400
Eli Zaretskii wrote:

> If that's the problem, I wonder why no one fixed it until now.

I think it is because a few volunteers can't deal with 4000+ bug
reports, and components for which no-one feels responsible languish.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Mon, 10 Sep 2018 13:13:02 GMT) Full text and rfc822 format available.

Notification sent to Steven Legowik <legowik <at> roboticresearch.com>:
bug acknowledged by developer. (Mon, 10 Sep 2018 13:13:02 GMT) Full text and rfc822 format available.

Message #28 received at 32576-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: rgm <at> gnu.org
Cc: 32576-done <at> debbugs.gnu.org, legowik <at> roboticresearch.com
Subject: Re: bug#32576: 24.5; cannot end gdb breakpoint command list
Date: Mon, 10 Sep 2018 16:12:36 +0300
> Date: Wed, 29 Aug 2018 21:45:01 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 32576 <at> debbugs.gnu.org, legowik <at> roboticresearch.com
> 
> > From: Glenn Morris <rgm <at> gnu.org>
> > Cc: Steven Legowik <legowik <at> roboticresearch.com>,  32576 <at> debbugs.gnu.org
> > Date: Wed, 29 Aug 2018 14:11:13 -0400
> > 
> > 
> > AFAICS it remains broken in master.
> > You have to type "commands" not "command" to get it to work.
> > gdb-control-commands-regexp doesn't handle abbreviations.
> > 
> > This is a duplicate of bug#20807.
> 
> If that's the problem, I wonder why no one fixed it until now.

Fixed on the emacs-26 branch.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Mon, 10 Sep 2018 13:13:03 GMT) Full text and rfc822 format available.

Notification sent to Stephen Leake <stephen_leake <at> stephe-leake.org>:
bug acknowledged by developer. (Mon, 10 Sep 2018 13:13:03 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Mon, 10 Sep 2018 13:13:03 GMT) Full text and rfc822 format available.

Notification sent to emacs18 <at> gmail.com:
bug acknowledged by developer. (Mon, 10 Sep 2018 13:13:03 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Mon, 10 Sep 2018 13:13:04 GMT) Full text and rfc822 format available.

Notification sent to Ross Biro <ross.biro <at> gmail.com>:
bug acknowledged by developer. (Mon, 10 Sep 2018 13:13:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Oct 2018 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 256 days ago.

Previous Next


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