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

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

Re: GDB under emacs can't deal with source code frame


From: Eli Zaretskii
Subject: Re: GDB under emacs can't deal with source code frame
Date: Sat, 07 Mar 2009 12:20:54 +0200

> Date: Sat, 7 Mar 2009 19:34:00 +1300
> From: address@hidden (Nick Roberts)
> Cc: address@hidden
> 
> > > Where did you get the ported GDB?  Is it by chance the Cygwin port of
>  > > GDB?
>  > 
>  > yes. The environment variable 'HOME' is set to point to Cygwin's bin
>  > directory. What's the problem of it?
> 
> I think Gdb and Emacs have a different expectation for the pathname syntax. 
> There are some suggestions in gdb-ui.el:
> 
> ;; If you are using Cygwin GDB and find that the source is not being displayed
> ;; in Emacs when you step through it, possible solutions are to:
> 
> ;;   1) Use Cygwin X Windows and Cygwin Emacs.
> ;;        (Since 22.1 Emacs builds under Cygwin.)
> ;;   2) Use MinGW GDB instead.
> ;;   3) Use cygwin-mount.el

There could also be an incompatibility between a native Windows build
of Emacs and Cygwin GDB wrt I/O, since the way used by Emacs to invoke
a subsidiary GDB might be incompatible with Cygwin pipe and console
I/O expectations.  Therefore, 1) and 2) above are recommended in
preference to 3).





reply via email to

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