all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: GDB under emacs can't deal with source code frame
Date: Sat, 07 Mar 2009 12:20:54 +0200	[thread overview]
Message-ID: <uhc25my61.fsf@gnu.org> (raw)
In-Reply-To: <18866.5464.859927.198424@snap.net.nz>

> Date: Sat, 7 Mar 2009 19:34:00 +1300
> From: nickrob@snap.net.nz (Nick Roberts)
> Cc: help-gnu-emacs@gnu.org
> 
> > > 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	other threads:[~2009-03-07 10:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06  9:28 GDB under emacs can't deal with source code frame xf.lotus
2009-03-06 16:01 ` Eli Zaretskii
     [not found] ` <mailman.2532.1236355295.31690.help-gnu-emacs@gnu.org>
2009-03-07  1:06   ` xf.lotus
2009-03-07  6:34     ` Nick Roberts
2009-03-07 10:20       ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uhc25my61.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.