aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-decode.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-21 17:14:03 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-21 17:14:03 +0000
commitb66df561bb295f7818ba7793ebc22ebb1705e286 (patch)
tree3485f87123070a1b9e6a4c21f3f390a74792174e /gdb/cli/cli-decode.c
parente6daada38b3ea8c8e9db27f71716f50dacf17be9 (diff)
downloadgdb-b66df561bb295f7818ba7793ebc22ebb1705e286.zip
gdb-b66df561bb295f7818ba7793ebc22ebb1705e286.tar.gz
gdb-b66df561bb295f7818ba7793ebc22ebb1705e286.tar.bz2
2005-02-21 Andrew Cagney <cagney@gnu.org>
* command.h (deprecated_add_set_cmd): Rename add_set_cmd. * cli/cli-decode.h (add_set_cmd): Delete declaration. * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd. * i386-nat.c (_initialize_i386_nat): Update call. * valprint.c (_initialize_valprint): Update comment. * gnu-nat.c (_initialize_gnu_nat): Update call.
Diffstat (limited to 'gdb/cli/cli-decode.c')
-rw-r--r--gdb/cli/cli-decode.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 33a045a..30ce415 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -368,12 +368,12 @@ add_setshow_cmd_full (char *name,
}
struct cmd_list_element *
-add_set_cmd (char *name,
- enum command_class class,
- var_types var_type,
- void *var,
- char *doc,
- struct cmd_list_element **list)
+deprecated_add_set_cmd (char *name,
+ enum command_class class,
+ var_types var_type,
+ void *var,
+ char *doc,
+ struct cmd_list_element **list)
{
return add_set_or_show_cmd (name, set_cmd, class, var_type, var, doc, list);
}