Summary: | completion: error during 'gdb `which app` core' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Panard <panard> |
Component: | Current packages | Assignee: | Gentoo Shell Tools project <shell-tools> |
Status: | RESOLVED WONTFIX | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Panard
2004-12-01 10:41:36 UTC
It does this because the gdb completion function is expecting just the program name (it automatically prepends the path), and using a subshell confuses awk. If you are going to use gdb completion, do not use a subshell and which, but rather (to follow your example): gdb somea<TAB> co<TAB> In order for the executable to be in gdb's completion list it would need to be executable and in the current path (same requirements for which). |