unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6072: 24.0.50; Problems with M-x gdb on MS-Windows
@ 2010-05-01 18:08 Eli Zaretskii
  2019-10-23 11:32 ` Stefan Kangas
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2010-05-01 18:08 UTC (permalink / raw)
  To: 6072

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':

With today's repository:

 emacs -Q
 M-x gdb RET C-a C-k gdb --i=mi ../lib-src/oo-spd/i386/ctags.exe RET

In the GUD buffer, type

 (gdb) start --help

This is what I see:

    Current directory is d:/gnu/bzr/emacs/test/lib-src/oo-spd/i386/
    GNU gdb (GDB) 7.1
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "mingw32".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from d:/gnu/bzr/emacs/test/lib-src/oo-spd/i386/ctags.exe...done.
    (gdb) start --help
    Temporary breakpoint 1 at 0x408eab: file ctags.c, line 1093.
    The target does not support running in non-stop mode. <<<<<<<<<

Problem #1: Why does it try to start in non-stop mode without checking
first?

Workaround:

    (gdb) set non-stop off

Problem #2: The mode line says "Debugger:run [unknown]".  Why the
"unknown" part?

Problem #3:

    (gdb) q
    A debugging session is active.

	    Inferior 1 [process 5972] will be killed.

    Quit anyway? (y or n) [answered Y; input not from terminal]

So it claims that it got the answer Y, so it was supposed to kill the
inferior, but when I try to exit Emacs with C-x C-c, it says:

  Active process exist; kill them and exit anyway (yes or no)?

and shows me the "*Process List*" buffer with this contents:

    Proc	 Status   Buffer   Command
    ----	 ------   ------   -------
    gdb-inferior run      (Killed) 

None of these problems are visible in Emacs 23.1.96 with the same
version of GDB.

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'.
For information about debugging Emacs, please read the file
d:/gnu/bzr/emacs/test/etc/DEBUG.


In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-05-01 on HOME-C4E4A596F7
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

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: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1255
  default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  tooltip-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-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x g r e p <return> C-a f C-e P O S I X _ S Y G N 
A L <backspace> <backspace> <backspace> <backspace> 
<backspace> I G N A L S <C-left> <C-left> <C-left> 
<left> <left> R C-e SPC . . / s r c SPC - - i n c l 
u d e = " * . [ c h ] " <return> <M-end> C-x o <prior> 
<prior> <prior> <prior> <prior> C-x 0 C-x C-f r e <tab> 
<tab> <return> M-x f l y s p e <tab> m o <tab> <return> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<M-right> C-e <left> s <up> <down> C-/ <next> <next> 
<next> <next> <prior> <prior> M-x g d b <return> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <up> 
<down> <down> <down> <up> <up> <down> <up> M-x <up> 
<return> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
SPC l i b <tab> - s <tab> <backspace> <backspace> <backspace> 
<backspace> <backspace> . . / l i b - s <tab> o o <tab> 
- <tab> i <tab> c t a <tab> e <tab> <return> s t a 
r t SPC - - h e l p <return> y s e t SPC n o n <tab> 
<tab> f f <return> s t a r t SPC - - h e l p <return> 
<help-echo> <help-echo> n <return> <return> <return> 
<return> <return> <return> <return> M-x r e p o r t 
<tab> <return>

Recent messages:
goto-history-element: End of history; no default available [3 times]
goto-history-element: Beginning of history; no preceding item [2 times]
goto-history-element: End of history; no default available
goto-history-element: Beginning of history; no preceding item
Quit
The target does not support running in non-stop mode.
Please type y, n, or !: 
Completed
Partially completed
Switched to thread 1

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug
cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs help-mode easymenu view gdb-mi bindat json gud easy-mmode
flyspell ispell vc-bzr sha1 hex-util grep compile comint regexp-opt ring
tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table
ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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
button minibuffer faces cus-face files text-properties overlay md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process multi-tty emacs)







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6072: 24.0.50; Problems with M-x gdb on MS-Windows
  2010-05-01 18:08 bug#6072: 24.0.50; Problems with M-x gdb on MS-Windows Eli Zaretskii
@ 2019-10-23 11:32 ` Stefan Kangas
  2019-10-24 16:40   ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kangas @ 2019-10-23 11:32 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 6072

Hi Eli,

Below is a 9 year old bug report of yours, which never got a reply at the time.

A lot of water has flowed under the bridge since then, so: is this
still an issue?

Best regards,
Stefan Kangas

Eli Zaretskii <eliz@gnu.org> writes:

> With today's repository:
>
>  emacs -Q
>  M-x gdb RET C-a C-k gdb --i=mi ../lib-src/oo-spd/i386/ctags.exe RET
>
> In the GUD buffer, type
>
>  (gdb) start --help
>
> This is what I see:
>
>     Current directory is d:/gnu/bzr/emacs/test/lib-src/oo-spd/i386/
>     GNU gdb (GDB) 7.1
>     Copyright (C) 2010 Free Software Foundation, Inc.
>     License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>     This is free software: you are free to change and redistribute it.
>     There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>     and "show warranty" for details.
>     This GDB was configured as "mingw32".
>     For bug reporting instructions, please see:
>     <http://www.gnu.org/software/gdb/bugs/>...
>     Reading symbols from d:/gnu/bzr/emacs/test/lib-src/oo-spd/i386/ctags.exe...done.
>     (gdb) start --help
>     Temporary breakpoint 1 at 0x408eab: file ctags.c, line 1093.
>     The target does not support running in non-stop mode. <<<<<<<<<
>
> Problem #1: Why does it try to start in non-stop mode without checking
> first?
>
> Workaround:
>
>     (gdb) set non-stop off
>
> Problem #2: The mode line says "Debugger:run [unknown]".  Why the
> "unknown" part?
>
> Problem #3:
>
>     (gdb) q
>     A debugging session is active.
>
>         Inferior 1 [process 5972] will be killed.
>
>     Quit anyway? (y or n) [answered Y; input not from terminal]
>
> So it claims that it got the answer Y, so it was supposed to kill the
> inferior, but when I try to exit Emacs with C-x C-c, it says:
>
>   Active process exist; kill them and exit anyway (yes or no)?
>
> and shows me the "*Process List*" buffer with this contents:
>
>     Proc     Status   Buffer   Command
>     ----     ------   ------   -------
>     gdb-inferior run      (Killed)
>
> None of these problems are visible in Emacs 23.1.96 with the same
> version of GDB.
>
> 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'.
> For information about debugging Emacs, please read the file
> d:/gnu/bzr/emacs/test/etc/DEBUG.
>
>
> In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
>  of 2010-05-01 on HOME-C4E4A596F7
> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> configured using `configure --with-gcc (3.4)'





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6072: 24.0.50; Problems with M-x gdb on MS-Windows
  2019-10-23 11:32 ` Stefan Kangas
@ 2019-10-24 16:40   ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2019-10-24 16:40 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 6072-done

> From: Stefan Kangas <stefan@marxist.se>
> Date: Wed, 23 Oct 2019 13:32:03 +0200
> Cc: 6072@debbugs.gnu.org
> 
> Below is a 9 year old bug report of yours, which never got a reply at the time.
> 
> A lot of water has flowed under the bridge since then, so: is this
> still an issue?

No, all of those problems have been fixed.  So I'm closing the bug
report; thanks for digging it from under the dust.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-24 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-01 18:08 bug#6072: 24.0.50; Problems with M-x gdb on MS-Windows Eli Zaretskii
2019-10-23 11:32 ` Stefan Kangas
2019-10-24 16:40   ` Eli Zaretskii

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).