Problem w/ gdb 7.3.50-2 under emacs

Ken Brown kbrown@cornell.edu
Fri Oct 14 02:45:00 GMT 2011


On 10/13/2011 9:10 PM, Ryan Johnson wrote:
> On 13/10/2011 6:36 PM, Ken Brown wrote:
>> On 10/13/2011 2:32 PM, Ryan Johnson wrote:
>>> Update: gdb (previous version and home-built) doesn't seg fault, but is
>>> unable to run commands under the latest cygwin emacs: nothing happens
>>> when you hit [enter], though it usually responds to ^C and comes back to
>>> the gdb prompt. A home-built emacs works perfectly (at least, with the
>>> previous version of cygwin gdb).
>>
>> Are you implying that the previous version of Cygwin gdb doesn't work
>> with Cygwin emacs?
> On my machine, yes... though I don't remember this being a problem
> before upgrading gdb the first time. YMMV.

I just found a workaround that allows M-x gdb to work in emacs with the 
current gdb (7.3.50-2).  Start M-x gdb and don't specify a filename. 
gdb starts up fine.  Then use the "file" command in gdb to load the 
program you want to debug, and everything works.

See if that works for you.

Ken


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



More information about the Cygwin mailing list