Problem in "Using GDB under GNU Emacs"

Hansen, Torben Arnt torben.arnt.hansen@barconet.com
Fri Sep 28 07:44:00 GMT 2001


> 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
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: text/x-algol68
Size: 13759 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20010928/2e0e3a97/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: text/x-makefile
Size: 252 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20010928/2e0e3a97/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestTORH.c
Type: text/x-c
Size: 172 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20010928/2e0e3a97/attachment-0002.bin>


More information about the Cygwin mailing list