This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem w/ gdb 7.3.50-2 under emacs


On 10/13/2011 10:45 PM, Ken Brown wrote:
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.

I've found the problem. The crash is caused by some of the commands that emacs sends to gdb during initialization. I've reported this in


http://cygwin.com/ml/cygwin/2011-10/msg00289.html

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]