public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: UVSoft <UVSoft@rambler.ru>
Cc: gdb@sources.redhat.com
Subject: Re: GDB: edit command
Date: Thu, 10 Nov 2005 19:46:00 -0000	[thread overview]
Message-ID: <20051110194603.GA30287@nevyn.them.org> (raw)
In-Reply-To: <4373806A.6030400@rambler.ru>

On Thu, Nov 10, 2005 at 08:16:26PM +0300, UVSoft wrote:
> 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?

What version of GDB is this?  I seem to remember someone fixing this
bug earlier in the year.

You may want to try the latest release, or a current snapshot.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

      reply	other threads:[~2005-11-10 19:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-10 17:16 UVSoft
2005-11-10 19:46 ` Daniel Jacobowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051110194603.GA30287@nevyn.them.org \
    --to=drow@false.org \
    --cc=UVSoft@rambler.ru \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).