diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-06-22 09:37:21 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-09-07 20:28:58 +0100 |
commit | dc22ab49e9b9a5d55d6608f662f808c6427600c4 (patch) | |
tree | fac0c8fba8fed88ccdc8bb03b0c25aef7324a936 /gdb/source.c | |
parent | 4076f962e8cd73219dfd48a6f682df1ab391c48c (diff) | |
download | gdb-dc22ab49e9b9a5d55d6608f662f808c6427600c4.zip gdb-dc22ab49e9b9a5d55d6608f662f808c6427600c4.tar.gz gdb-dc22ab49e9b9a5d55d6608f662f808c6427600c4.tar.bz2 |
gdb: deprecated filename_completer and associated functions
Following on from the previous commit, this commit marks the old
unquoted filename completion related functions as deprecated.
The aim of doing this is to make it more obvious to someone adding a
new command that they should not be using the older unquoted style
filename argument handling.
I split this change from the previous to make for an easier review.
This commit touches more files, but is _just_ function renaming.
Check out gdb/completer.{c,h} for what has been renamed. All the
other files have just been updated to use the new names.
There should be no user visible changes after this commit.
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c index 0c5c2ba..b9122c4 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -1915,7 +1915,7 @@ directory in which the source file was compiled into object code.\n\ With no argument, reset the search path to $cdir:$cwd, the default."), &cmdlist); - set_cmd_completer (directory_cmd, filename_completer); + set_cmd_completer (directory_cmd, deprecated_filename_completer); add_setshow_optional_filename_cmd ("directories", class_files, |