Enable bfd_assembler by default for the MAXQ port.
[deliverable/binutils-gdb.git] / gdb / proc-api.c
index 1e4a2dccf170e9a6f605c5805341cb3958176eae..ec8060ce2bbe3a051771b5dd0d438d5921f3249d 100644 (file)
@@ -459,7 +459,7 @@ static off_t lseek_offset;
 int
 write_with_trace (int fd, void *varg, size_t len, char *file, int line)
 {
-  int  i;
+  int i = ARRAY_SIZE (rw_table) - 1;
   int ret;
   procfs_ctl_t *arg = (procfs_ctl_t *) varg;
 
@@ -784,7 +784,7 @@ _initialize_proc_api (void)
                   var_boolean, (char *) &procfs_trace, 
                   "Set tracing for /proc api calls.\n", &setlist);
 
-  add_show_from_set (c, &showlist);
+  deprecated_add_show_from_set (c, &showlist);
   set_cmd_sfunc (c, set_procfs_trace_cmd);
   set_cmd_completer (c, filename_completer);
 
@@ -792,6 +792,6 @@ _initialize_proc_api (void)
                   (char *) &procfs_filename, 
                   "Set filename for /proc tracefile.\n", &setlist);
 
-  add_show_from_set (c, &showlist);
+  deprecated_add_show_from_set (c, &showlist);
   set_cmd_sfunc (c, set_procfs_file_cmd);
 }
This page took 0.023995 seconds and 4 git commands to generate.