help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Windows port Emacs with GDB from Cygwin


From: Stephen Leake
Subject: Re: [h-e-w] Windows port Emacs with GDB from Cygwin
Date: Wed, 20 Feb 2008 01:17:12 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.1 (windows-nt)

"Guangran Zhu" <address@hidden> writes:

> I have a question on the "=>" (line indicator) in windows port of Emacs
> when using the GDB bundled with Cygwin. In particular, I am using the
> windows port of Emacs 21.0 developing in C++. GDB is from Cygwin. (I do
> not use EMACS under Cygwin.) When I hit "M-x gdb", the one-buffer emacs
> frame containing the C++ source code is not split into two buffers.
> Using "break main", I was successful to set a break point in the source
> file and a RED dot is placed at the line containing the main clause on
> the right. However, when I step through in GDB, there is no "=>" (line
> indictor). I have to keep on using "list" to exam the code, which is
> exhausting.
>
> Has anyone on this listserv ever come across this problem? I suspect the
> problem comes from the fact that I am using Cygwin and windows port of
> Emacs, but I do not know the exact cause. Thx in adv.

Eli responded with "use MinGW GDB". I use a variation of that from
AdaCore; it works quite well.

Another solution is to use Cygwin X Windows and Cygwin Emacs. I
recently tried that for a different reason, and it works quite well.

If your C++ compiler is also Cygwin, that would give a single
integrated environment.

-- 
-- Stephe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]