* bug#4200: 23.1.50; gdb mode screwup when setting breakpoint @ 2009-08-19 8:30 ` Miles Bader 2009-08-20 22:12 ` Dmitry Dzhus 2009-08-26 1:40 ` bug#4200: marked as done (23.1.50; gdb mode screwup when setting breakpoint) Emacs bug Tracking System 0 siblings, 2 replies; 4+ messages in thread From: Miles Bader @ 2009-08-19 8:30 UTC (permalink / raw) To: emacs-pretest-bug Please describe exactly what actions triggered the bug and the precise symptoms of the bug: (1) start emacs, with -Q (2) start gdb on an executable in the current dir; let's say it's called "foo", and is the most recent excutable in that dir, so gdb chooses it by default: M-x gdb RET (3) split the current window: C-x 2 (3) Visit the source file containing the "main" function, and move to some source line in that function: C-x C-f foo.c RET C-n ... (4) Set a breakpoint on that line: C-x SPC (5) **** Note that the "(gdb) " prompt in the *gud-foo* buffer has disappeared! Weird... but let's continue (6) Select the other window, where the *gud-foo* buffer is: C-x o (7) Try to run the program, even though the prompt is gone: run RET (8) **** The following error messages are given (these lines are from the *Messages* buffer): error in process filter: gdb-starting: Unexpected `starting' annotation error in process filter: Unexpected `starting' annotation Also note that for some reason, the "run" command caused a breakpoint list to be displayed in the *gud-foo* buffer, and that now there's a prompt again! (9) Try to run again, using "run RET"; this time it works (after you answer "y" to the gdb query), and correctly stops at the breakpoint you set. Thanks, -miles If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.1.50/etc/DEBUG for instructions. In GNU Emacs 23.1.50.32 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.5) of 2009-08-19 on dhlpc061 Windowing system distributor `The X.Org Foundation', version 11.0.10603000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: @im=SCIM locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Diff Minor modes in effect: diff-auto-refine-mode: t show-paren-mode: t recentf-mode: t rcirc-track-minor-mode: t minibuffer-electric-default-mode: t display-time-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-j <escape> g C-p C-k C-n C-p C-p C-e C-p C-b C-e C-b C-b C-j C-j <escape> g C-p C-k <down-mouse-1> <mouse-1> C-p C-p C-p C-p C-p C-p C-p C-p C-n M-b M-b M-b M-b M-b M-b M-b <escape> f <backspace> SPC v e r y <escape> d <escape> d SPC n i c e C-n C-a C-d a C-n C-e C-b C-b C-b C-b C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-u C-p C-u C-p C-u C-p C-u C-p C-p C-e M-h s o m e <escape> g C-a C-n C-c C-c <return> q K g p p = SPC q n p p p p p p p p p p p p p p p p p n n n p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p <escape> x r c SPC <return> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> C-c C-SPC C-c C-q q SPC <return> h i SPC : ( ) <backspace> <backspace> ) <return> C-c C-SPC C-c C-SPC <down-mouse-1> <mouse-movement> <mouse-1> C-c C-SPC C-x d C-x d C-x d C-c C-SPC n n n n n C-v C-v g <down-mouse-4> <mouse-4> <double-down-mouse-4> <double-mouse-4> <triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4> C-c C-SPC h e y a <return> w h a t SPC d o i n ? <return> C-c C-SPC C-c C-SPC C-u C-u C-p C-u C-p C-n = SPC n q n n n n n n n n n n n n n n n n n n n <switch-frame> <escape> x g d b C-g <switch-frame> <switch-frame> <switch-frame> <switch-frame> <down-mouse-1> <mouse-movement> <mouse-1> <escape> x r e p o r t SPC <return> Recent messages: Reading active file via nnml...done Checking new news...done Retrieving newsgroup: nntp+news.gmane.org:gmane.emacs.devel... Fetching headers for nntp+news.gmane.org:gmane.emacs.devel...done Suppressing duplicates...done Scoring...done Sorting articles...done Generating summary...done Waiting for async article... x*DING* Quit Load-path shadows: /home/soft1/miles/.emacs.d/elpa/lua-mode-20070608/lua-mode hides /usr/local/share/emacs/site-lisp/lua-mode /usr/share/emacs22/site-lisp/dictionaries-common/ispell hides /usr/local/share/emacs/23.1.50/lisp/textmodes/ispell /usr/share/emacs22/site-lisp/dictionaries-common/flyspell hides /usr/local/share/emacs/23.1.50/lisp/textmodes/flyspell ~/src/elisp/timer hides /usr/local/share/emacs/23.1.50/lisp/emacs-lisp/timer -- The car has become... an article of dress without which we feel uncertain, unclad, and incomplete. [Marshall McLuhan, Understanding Media, 1964] ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4200: 23.1.50; gdb mode screwup when setting breakpoint 2009-08-19 8:30 ` bug#4200: 23.1.50; gdb mode screwup when setting breakpoint Miles Bader @ 2009-08-20 22:12 ` Dmitry Dzhus 2009-08-20 23:19 ` Miles Bader 2009-08-26 1:40 ` bug#4200: marked as done (23.1.50; gdb mode screwup when setting breakpoint) Emacs bug Tracking System 1 sibling, 1 reply; 4+ messages in thread From: Dmitry Dzhus @ 2009-08-20 22:12 UTC (permalink / raw) To: Miles Bader; +Cc: 4200, dima Miles Bader wrote: > Unexpected `starting' annotation `gdb-starting' from gdb-mi.el in Emacs trunk doesn't contain such code. Looks like somehow `M-x gdb' launched old GDB UI in your Emacs. -- Happy Hacking. http://sphinx.net.ru む ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4200: 23.1.50; gdb mode screwup when setting breakpoint 2009-08-20 22:12 ` Dmitry Dzhus @ 2009-08-20 23:19 ` Miles Bader 0 siblings, 0 replies; 4+ messages in thread From: Miles Bader @ 2009-08-20 23:19 UTC (permalink / raw) To: Dmitry Dzhus; +Cc: 4200 On Fri, Aug 21, 2009 at 7:12 AM, Dmitry Dzhus<dima@sphinx.net.ru> wrote: >> Unexpected `starting' annotation > > `gdb-starting' from gdb-mi.el in Emacs trunk doesn't contain such code. > Looks like somehow `M-x gdb' launched old GDB UI in your Emacs. Can you not replicate it? I was using the trunk as of a few days ago. Do I need to use anything more than "emacs -Q" to test this? Thanks, -Miles -- Do not taunt Happy Fun Ball. ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4200: marked as done (23.1.50; gdb mode screwup when setting breakpoint) 2009-08-19 8:30 ` bug#4200: 23.1.50; gdb mode screwup when setting breakpoint Miles Bader 2009-08-20 22:12 ` Dmitry Dzhus @ 2009-08-26 1:40 ` Emacs bug Tracking System 1 sibling, 0 replies; 4+ messages in thread From: Emacs bug Tracking System @ 2009-08-26 1:40 UTC (permalink / raw) To: Glenn Morris [-- Attachment #1: Type: text/plain, Size: 898 bytes --] Your message dated Tue, 25 Aug 2009 21:35:08 -0400 with message-id <atskffjr1v.fsf@fencepost.gnu.org> and subject line Re: bug#4200: 23.1.50; gdb mode screwup when setting breakpoint has caused the Emacs bug report #4200, regarding 23.1.50; gdb mode screwup when setting breakpoint to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) -- 4200: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4200 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems [-- Attachment #2: Type: message/rfc822, Size: 7506 bytes --] From: Miles Bader <miles.bader@necel.com> To: emacs-pretest-bug@gnu.org Subject: 23.1.50; gdb mode screwup when setting breakpoint Date: Wed, 19 Aug 2009 17:30:33 +0900 Message-ID: <buor5v8xl1y.fsf@dhlpc061.dev.necel.com> Please describe exactly what actions triggered the bug and the precise symptoms of the bug: (1) start emacs, with -Q (2) start gdb on an executable in the current dir; let's say it's called "foo", and is the most recent excutable in that dir, so gdb chooses it by default: M-x gdb RET (3) split the current window: C-x 2 (3) Visit the source file containing the "main" function, and move to some source line in that function: C-x C-f foo.c RET C-n ... (4) Set a breakpoint on that line: C-x SPC (5) **** Note that the "(gdb) " prompt in the *gud-foo* buffer has disappeared! Weird... but let's continue (6) Select the other window, where the *gud-foo* buffer is: C-x o (7) Try to run the program, even though the prompt is gone: run RET (8) **** The following error messages are given (these lines are from the *Messages* buffer): error in process filter: gdb-starting: Unexpected `starting' annotation error in process filter: Unexpected `starting' annotation Also note that for some reason, the "run" command caused a breakpoint list to be displayed in the *gud-foo* buffer, and that now there's a prompt again! (9) Try to run again, using "run RET"; this time it works (after you answer "y" to the gdb query), and correctly stops at the breakpoint you set. Thanks, -miles If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.1.50/etc/DEBUG for instructions. In GNU Emacs 23.1.50.32 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.5) of 2009-08-19 on dhlpc061 Windowing system distributor `The X.Org Foundation', version 11.0.10603000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: @im=SCIM locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Diff Minor modes in effect: diff-auto-refine-mode: t show-paren-mode: t recentf-mode: t rcirc-track-minor-mode: t minibuffer-electric-default-mode: t display-time-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-j <escape> g C-p C-k C-n C-p C-p C-e C-p C-b C-e C-b C-b C-j C-j <escape> g C-p C-k <down-mouse-1> <mouse-1> C-p C-p C-p C-p C-p C-p C-p C-p C-n M-b M-b M-b M-b M-b M-b M-b <escape> f <backspace> SPC v e r y <escape> d <escape> d SPC n i c e C-n C-a C-d a C-n C-e C-b C-b C-b C-b C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-u C-p C-u C-p C-u C-p C-u C-p C-p C-e M-h s o m e <escape> g C-a C-n C-c C-c <return> q K g p p = SPC q n p p p p p p p p p p p p p p p p p n n n p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p <escape> x r c SPC <return> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> <switch-frame> C-c C-SPC C-c C-q q SPC <return> h i SPC : ( ) <backspace> <backspace> ) <return> C-c C-SPC C-c C-SPC <down-mouse-1> <mouse-movement> <mouse-1> C-c C-SPC C-x d C-x d C-x d C-c C-SPC n n n n n C-v C-v g <down-mouse-4> <mouse-4> <double-down-mouse-4> <double-mouse-4> <triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4> C-c C-SPC h e y a <return> w h a t SPC d o i n ? <return> C-c C-SPC C-c C-SPC C-u C-u C-p C-u C-p C-n = SPC n q n n n n n n n n n n n n n n n n n n n <switch-frame> <escape> x g d b C-g <switch-frame> <switch-frame> <switch-frame> <switch-frame> <down-mouse-1> <mouse-movement> <mouse-1> <escape> x r e p o r t SPC <return> Recent messages: Reading active file via nnml...done Checking new news...done Retrieving newsgroup: nntp+news.gmane.org:gmane.emacs.devel... Fetching headers for nntp+news.gmane.org:gmane.emacs.devel...done Suppressing duplicates...done Scoring...done Sorting articles...done Generating summary...done Waiting for async article... x*DING* Quit Load-path shadows: /home/soft1/miles/.emacs.d/elpa/lua-mode-20070608/lua-mode hides /usr/local/share/emacs/site-lisp/lua-mode /usr/share/emacs22/site-lisp/dictionaries-common/ispell hides /usr/local/share/emacs/23.1.50/lisp/textmodes/ispell /usr/share/emacs22/site-lisp/dictionaries-common/flyspell hides /usr/local/share/emacs/23.1.50/lisp/textmodes/flyspell ~/src/elisp/timer hides /usr/local/share/emacs/23.1.50/lisp/emacs-lisp/timer -- The car has become... an article of dress without which we feel uncertain, unclad, and incomplete. [Marshall McLuhan, Understanding Media, 1964] [-- Attachment #3: Type: message/rfc822, Size: 1792 bytes --] From: Glenn Morris <rgm@gnu.org> To: 4200-done@emacsbugs.donarmstrong.com Subject: Re: bug#4200: 23.1.50; gdb mode screwup when setting breakpoint Date: Tue, 25 Aug 2009 21:35:08 -0400 Message-ID: <atskffjr1v.fsf@fencepost.gnu.org> Discussion moved to emacs-devel. Stale gdb-ui.elc file was to blame: http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg01050.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-08-26 1:40 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <atskffjr1v.fsf@fencepost.gnu.org> 2009-08-19 8:30 ` bug#4200: 23.1.50; gdb mode screwup when setting breakpoint Miles Bader 2009-08-20 22:12 ` Dmitry Dzhus 2009-08-20 23:19 ` Miles Bader 2009-08-26 1:40 ` bug#4200: marked as done (23.1.50; gdb mode screwup when setting breakpoint) Emacs bug Tracking System
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.