This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Emacs with gdb


Dear all,

    I would like to run gdb in GNU Emacs 20.7.1.
After i typed M-x gdb myprogram. And then i type

b main
run

    In theory,the Emacs will open the source file 
that contain main() and have an arrow pointed to main().
But the Emacs now try to open /cygdrive/c/myprogrampath/main.c!
Emacs dont know this kind of path naming.Therfore,it cant 
open the source file correctly.

    Did it have any method so that i type pwd in gdb will
display c:/myprogrampath instead of /cygdrive/c/myprogrampath/?

Thx u

-- 

-----------GEEK CODE 3.1-----------
GCS/E/ED/O d- s: a--- C++@ UL>++@ 
P+ L(+) E+ W N+(++) o? K? w$ !O
 !M  !V !PS PE? Y PGP+ t? !5 X- R 
tv- b+ DI? D- G e h-- r- y-
-----------------------------------

http://mrbadguy.e-fever.org

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]