aboutsummaryrefslogtreecommitdiff
path: root/gdb/record.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-06-22 09:37:21 +0100
committerAndrew Burgess <aburgess@redhat.com>2024-09-07 20:28:58 +0100
commitdc22ab49e9b9a5d55d6608f662f808c6427600c4 (patch)
treefac0c8fba8fed88ccdc8bb03b0c25aef7324a936 /gdb/record.c
parent4076f962e8cd73219dfd48a6f682df1ab391c48c (diff)
downloadgdb-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/record.c')
-rw-r--r--gdb/record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/record.c b/gdb/record.c
index d84af60..8bf8a69 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -827,7 +827,7 @@ A size of \"unlimited\" means unlimited lines. The default is 10."),
Usage: record save [FILENAME]\n\
Default filename is 'gdb_record.PROCESS_ID'."),
&record_cmdlist);
- set_cmd_completer (c, filename_completer);
+ set_cmd_completer (c, deprecated_filename_completer);
cmd_list_element *record_delete_cmd
= add_cmd ("delete", class_obscure, cmd_record_delete,