aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.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/breakpoint.c
parent4076f962e8cd73219dfd48a6f682df1ab391c48c (diff)
downloadbinutils-dc22ab49e9b9a5d55d6608f662f808c6427600c4.zip
binutils-dc22ab49e9b9a5d55d6608f662f808c6427600c4.tar.gz
binutils-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/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index fa19674..2860354 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -15126,14 +15126,14 @@ This includes all types of breakpoints (breakpoints, watchpoints,\n\
catchpoints, tracepoints). Use the 'source' command in another debug\n\
session to restore them."),
&save_cmdlist);
- set_cmd_completer (c, filename_completer);
+ set_cmd_completer (c, deprecated_filename_completer);
cmd_list_element *save_tracepoints_cmd
= add_cmd ("tracepoints", class_trace, save_tracepoints_command, _("\
Save current tracepoint definitions as a script.\n\
Use the 'source' command in another debug session to restore them."),
&save_cmdlist);
- set_cmd_completer (save_tracepoints_cmd, filename_completer);
+ set_cmd_completer (save_tracepoints_cmd, deprecated_filename_completer);
c = add_com_alias ("save-tracepoints", save_tracepoints_cmd, class_trace, 0);
deprecate_cmd (c, "save tracepoints");