aboutsummaryrefslogtreecommitdiff
path: root/gdb/wince.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/wince.c')
-rw-r--r--gdb/wince.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/wince.c b/gdb/wince.c
index d931ddc..e37866c 100644
--- a/gdb/wince.c
+++ b/gdb/wince.c
@@ -1983,7 +1983,7 @@ _initialize_inftarg (void)
(char *) "Set how to upload executables to remote device.\n",
&setlist);
add_show_from_set (set, &showlist);
- set->function.cfunc = set_upload_type;
+ set_cmd_cfunc (set, set_upload_type);
set_upload_type (NULL, 0);
add_show_from_set