delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/09/16:44:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4EBAF428.9040508@cs.utoronto.ca>
Date: Wed, 09 Nov 2011 16:44:08 -0500
From: Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: gdb broken inside emacs (again? still?)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019