2011/6/17 Wojciech Brański: > Oh, and when I run :Cfile work.exe there is no gdb version in console. >
Thanks for the logfile. I guess it was obtained from running the pyclewn shortcut since it shows that the gdb version and copyright were output to the console. If you don't see the gdb version and copyright when running ':Pyclewn', this may be because the path to gdb (usuallly c:\mingw\bin) is not set in the %PATH% as it should (see INSTALL). The logfile shows that gdb does not load the file 'work.exe', and that gdb does not output any error after running 'file work.exe'. I run the same test on linux with the same pyclewn 1.4 version and the same gdb 7.2 version, and gdb output 'No such file or directory.' in that case: On Windows: gdb DEBUG 100-interpreter-exec console "file work.exe" gdb DEBUG 100^done On linux: gdb DEBUG 100-interpreter-exec console "file work" gdb DEBUG &"work: No such file or directory.\n" gdb INFO work: No such file or directory. gdb DEBUG 100^error,msg="work: No such file or directory." The 'info files' command prints information on the program being debugged, so it is a way to check if the file has been successfully loaded. I have also tested pyclewn 1.6 (soon to be released, requires Python 3) on Vista with a fairly recent mingw environment including gdb 7.2, and I do get the 'No such file or directory' error message. Now, to fix the problem of gdb not finding 'work.exe', you can use absolute paths or use the gdb commands 'pwd' and 'cd' if you want to use relative paths. -- Xavier Les Chemins de Lokoti: http://lokoti.alwaysdata.net ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Pyclewn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyclewn-general
