This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Problem in "Using GDB under GNU Emacs"
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: Problem in "Using GDB under GNU Emacs"
- From: "Hansen, Torben Arnt" <torben dot arnt dot hansen at barconet dot com>
- Date: Fri, 28 Sep 2001 16:45:30 +0200
> Hi
>
> I am using emacs as my development environment, and have tried to use the
> gdb debugger under emacs. But there is a mismatch between the file where
> it place the arrow ('=>') sign and the source code. Look at the two first
> point in the list below.
>
> List of all buffers in emacs:
> MR Buffer Size Mode File
> -- ------ ---- ---- ----
> . TestTORH.c<2> 171 C c:/work/TestTORH.c
> TestTORH.c 0 C
> c:/cygdrive/c/work/TestTORH.c
> cygcheck.out 13800 Fundamental
> c:/work/cygcheck.out
> * *Completions* 174 Completion List
> * *gud-testtorh.exe* 661 Debugger
> *scratch* 182 Lisp Interaction
> * *Messages* 912 Fundamental
> *% *Buffer List* 421 Buffer Menu
>
> The original source is in first point <c:/work/TestTORH.c>, the debugger
> try to make the arrow sign, but in the <c:/cygdrive/c/work/TestTORH.c>
> witch is nonsense. and the file is only content the arrow sign.
>
> I have tried the old cygwin B20, and it works fine.
>
> I am using cygwin v1.3.3 under Windows 2000 and emacs v20.7
>
> This is the commands I used when the problem arise and the file.
> C-x C-f testtorh.c
> C-x 2
> gdb RET gdb testtorh.exe
> (gdb) break main
> (gdb) run
>
> <<cygcheck.out>> <<Makefile>> <<TestTORH.c>>
>
> Best regards
>
> Torben Arnt Hansen
> R & D Engineer
> BarcoNet A/S
> Tel +45 39 17 08 59
> Fax +45 39 17 00 10
> Mailto:torben.arnt.hansen@barconet.com
> http://www.barconet.com
>
>
cygcheck.out
Makefile
TestTORH.c
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/