mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
gdb/
* ctf.c (_initialize_ctf): Include "completer.h". Call add_target_with_completer instead of add_target. gdb/testsuite/ * gdb.base/completion.exp: Test completion of command 'target ctf' if target ctf is supported.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "regcache.h"
|
||||
#include "gdb_stat.h"
|
||||
#include "exec.h"
|
||||
#include "completer.h"
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
@@ -1843,6 +1844,6 @@ _initialize_ctf (void)
|
||||
#if HAVE_LIBBABELTRACE
|
||||
init_ctf_ops ();
|
||||
|
||||
add_target (&ctf_ops);
|
||||
add_target_with_completer (&ctf_ops, filename_completer);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user