unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 6072@debbugs.gnu.org
Subject: bug#6072: 24.0.50; Problems with M-x gdb on MS-Windows
Date: Wed, 23 Oct 2019 13:32:03 +0200	[thread overview]
Message-ID: <CADwFkmnfjiSRg6O8LuefRFDXNNmCj4i0_-rX7C4fVFG=hwwr9Q@mail.gmail.com> (raw)
In-Reply-To: <838w83wl4v.fsf@gnu.org>

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





  reply	other threads:[~2019-10-23 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2019-10-24 16:40   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmnfjiSRg6O8LuefRFDXNNmCj4i0_-rX7C4fVFG=hwwr9Q@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=6072@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).