mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
* demangle.c (demangling_style_names): New variable.
(_initialize_demangler): Fill demangling_style_names with the names of known demangling styles from libiberty_demanglers[]. Use add_set_enum_cmd instead of add_set_cmd, to get completion on demangling style names. * proc-api.c (_initialize_proc_api): Make `procfs-file' use file-name completion. * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'. * solib.c (_initialize_solib): Ditto for `solib-search-path' and `solib-absolute-prefix'. * tracepoint.c (_initialize_tracepoint): Ditto for `save-tracepoints'. * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'. * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use file-name completion. * infcmd.c (_initialize_infcmd): Make the following commands use the file-name completer: `tty', `args', `path', `paths', and `run'.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "target.h"
|
||||
#include "gdbcore.h"
|
||||
#include "command.h"
|
||||
#include "completer.h"
|
||||
#include <signal.h>
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
@@ -1377,10 +1378,13 @@ init_child_ops (void)
|
||||
void
|
||||
_initialize_inftarg (void)
|
||||
{
|
||||
struct cmd_list_element *c;
|
||||
|
||||
init_child_ops ();
|
||||
|
||||
add_com ("dll-symbols", class_files, dll_symbol_command,
|
||||
"Load dll library symbols from FILE.");
|
||||
c = add_com ("dll-symbols", class_files, dll_symbol_command,
|
||||
"Load dll library symbols from FILE.");
|
||||
c->completer = filename_completer;
|
||||
|
||||
auto_solib_add = 1;
|
||||
add_com_alias ("sharedlibrary", "dll-symbols", class_alias, 1);
|
||||
|
||||
Reference in New Issue
Block a user