From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: gdb broken inside emacs (again? still?)
Date: Wed, 09 Nov 2011 21:44:00 -0000 [thread overview]
Message-ID: <4EBAF428.9040508@cs.utoronto.ca> (raw)
Hi all,
Attempting to run gdb inside emacs with an executable file name argument
(with or without --annotate=3) causes it to seg fault (no surprise,
known issue). Running just `gdb' from emacs allows it to initialize, but
attempts to load a file or indeed perform any command hang until a
double-^C cancels the attempt (reporting "C-c C-cquit"). Ironically,
even `quit' hangs, so you have to use ^D to exit. Debugging anything
within emacs is thus completely impossible at this time. I've tried with
a home-compiled gdb (same version) with no better luck. I'm building an
emacs-23 from scratch, but I'm pretty sure I've already tried that
before, without any conclusive improvement.
I know this has come up before, and that it has been "resolved" before
for me and for others, but it keeps recurring (usually whenever I
actually need to debug something) and I can't find any reliable way to
make the problem go away.
Do the latest snapshots contain changes which should fix the problem?
I'm on an win7-64 system, running the 13 Oct dll snapshot, after a
rebaseall. Relevant package versions are below (setup.exe doesn't
advertize any newer ones):
> binutils 2.22.51-1
> gcc4 4.5.3-3
> gcc4-core 4.5.3-3
> gcc4-g++ 4.5.3-3
> gcc4-java 4.5.3-3
> gdb 7.3.50-2
> emacs 23.3-3
> emacs-X11 23.3-3
Thanks,
Ryan
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next reply other threads:[~2011-11-09 21:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-09 21:44 Ryan Johnson [this message]
2011-11-09 22:32 ` Ken Brown
2011-11-09 23:08 ` Ryan Johnson
2011-11-10 2:38 ` Ken Brown
2011-11-10 3:23 ` Ryan Johnson
2011-11-09 23:59 ` Ryan Johnson
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EBAF428.9040508@cs.utoronto.ca \
--to=ryan.johnson@cs.utoronto.ca \
--cc=cygwin@cygwin.com \
/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.
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).