[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDB under emacs can't deal with source code frame
From: |
Nick Roberts |
Subject: |
Re: GDB under emacs can't deal with source code frame |
Date: |
Sat, 7 Mar 2009 19:34:00 +1300 |
> > 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
--
Nick http://www.inet.net.nz/~nickrob