From: Keith Knowles <keith.knowles@gmail.com>
Subject: Re: Suggestion: (how to) make Gnu Emacs work with gdb under CYGWIN
Date: Tue, 27 Dec 2005 21:27:53 -0500 [thread overview]
Message-ID: <f136beb50512271827n7229a8ddo14d9e69f9c998a88@mail.gmail.com> (raw)
In-Reply-To: <f136beb50512271746lc97da23m68cf728779a2b4e5@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1412 bytes --]
Incidentally, I neglected to say that I now have a work-around.
T'is most odious!
I preload the *.[ch] from my cwd and copy them into shadow
buffers with the <2> name and the mythical c:/cygdrive file
name and (not-modified). I will put this on a gdb-hook.
I don't think I can live with this long-term but at least I am now
debugging on Windows in other than Visual Studio.
On 12/27/05, Keith Knowles <keith.knowles@gmail.com> wrote:
>
> On 19 March, 2003, I posted a note:
> Emacs M-x gdb does not correlate CYGWIN symlinks to source files to
> cygwin@cygwin.com.
>
>
> The suggestion was, "use CYGWIN Emacs". (I tried it but stayed with Gnu.)
>
> I just tried this once more, but in a very simple environment (no symbolic
> links of any kind).
>
> When a break triggers in "test.c", Emacs opens a buffer, "test.c<2>" on
> mythical file
> "c:/cygwin/c/...test.c". It appears that Emacs helpfully added the
> missing drive letter.
>
> I suggest that if Emacs did not add the drive letter when the /cygdrive
> notation is present
> (on a system with CYGWIN installed), then Gnu Emacs, CYGWIN and gdb would
> all play
> together straight out of the box.
>
> (Of course, I could just be doing something horribly wrong, since I cannot
> imagine that I
> am the first to tread this path and, no, I can't really believe this
> doesn't work.)
>
> Cheers,
> Keith
>
>
[-- Attachment #1.2: Type: text/html, Size: 1995 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
prev parent reply other threads:[~2005-12-28 2:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-28 1:46 Suggestion: (how to) make Gnu Emacs work with gdb under CYGWIN Keith Knowles
2005-12-28 2:27 ` Keith Knowles [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f136beb50512271827n7229a8ddo14d9e69f9c998a88@mail.gmail.com \
--to=keith.knowles@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).