unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Suggestion: (how to) make Gnu Emacs work with gdb under CYGWIN
@ 2005-12-28  1:46 Keith Knowles
  2005-12-28  2:27 ` Keith Knowles
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Knowles @ 2005-12-28  1:46 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 901 bytes --]

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: 1115 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Suggestion: (how to) make Gnu Emacs work with gdb under CYGWIN
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Knowles @ 2005-12-28  2:27 UTC (permalink / raw)



[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-28  2:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).