all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
Cc: emacs-devel@gnu.org
Subject: Re: fall-back for gud-gdb-complete-command
Date: Sat, 7 Feb 2004 01:11:55 +0000	[thread overview]
Message-ID: <16420.15195.71956.789482@nick.uklinux.net> (raw)


> Some gdb commands like run, source, directory take file names
> as the arguments. However the file names are not completed in
> the gud buffer. I've added code which completes file name
> if gdb's complete command returns no completion.

This is a nice idea but GDB has its own filename completion. In fact GDB has
three types of completion: command, filename and location. Its just that
filename completion using the GDB command "complete", which is what Emacs uses,
was broken. This has recently been fixed by the change below (from GDB's
ChangeLog):

2004-02-01  Daniel Jacobowitz  <drow@mvista.com>

	* cli/cli-cmds.c: Include readline.h.
	(complete_command): Pass the start of the last word to
	complete_line.

This change is still in the CVS repository at sources.redhat.com but should be
part of gdb 6.1 due to be released around the end of March.


Nick

             reply	other threads:[~2004-02-07  1:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-07  1:11 Nick Roberts [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-06 16:58 fall-back for gud-gdb-complete-command Masatake YAMATO

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=16420.15195.71956.789482@nick.uklinux.net \
    --to=nick@nick.uklinux.net \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.