This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
GDB: edit command
- From: UVSoft <UVSoft at rambler dot ru>
- To: gdb at sources dot redhat dot com
- Date: Thu, 10 Nov 2005 20:16:26 +0300
- Subject: GDB: edit command
Hello,
Could you help me to solve a problem?
Here it is:
1. EDITOR=/usr/local/bin/vim
2. export EDITOR
3. cd /home/someuser/someprog/
3. gdb Prog
4. bla-bla-bla
5. edit
It runs VIM but path to the file is
`/home/someuser/someprogProg'...
without a last slash between directory and file name...
so VIM create a new file... `someprogProg'
Am I do something wrong?
Thank you.