* inflow.c (O_NOCTTY): Define to zero if not already defined.
[deliverable/binutils-gdb.git] / gdb / wince.c
index e8361bfe96076c09e5a2fe80a83256bd1d4215b7..a9dafee1cb740a0f0393b6abc9b2d4bdc8e9474f 100644 (file)
@@ -1587,7 +1587,8 @@ upload_to_device (const char *to, const char *from)
     return remotefile;         /* Don't bother uploading. */
 
   /* Open the source. */
-  if ((fd = openp (getenv ("PATH"), TRUE, (char *) from, O_RDONLY, 0, NULL)) < 0)
+  if ((fd = openp (getenv ("PATH"), OPF_TRY_CWD_FIRST, (char *) from, O_RDONLY,
+                  0, NULL)) < 0)
     error ("couldn't open %s", from);
 
   /* Get the time for later comparison. */
@@ -1970,7 +1971,7 @@ _initialize_wince (void)
   struct cmd_list_element *set;
   init_child_ops ();
 
-  add_show_from_set
+  deprecated_add_show_from_set
     (add_set_cmd ((char *) "remotedirectory", no_class,
                  var_string_noescape, (char *) &remote_directory,
                  (char *) "Set directory for remote upload.\n",
@@ -1982,18 +1983,18 @@ _initialize_wince (void)
                     var_string_noescape, (char *) &remote_upload,
               (char *) "Set how to upload executables to remote device.\n",
                     &setlist);
-  add_show_from_set (set, &showlist);
+  deprecated_add_show_from_set (set, &showlist);
   set_cmd_cfunc (set, set_upload_type);
   set_upload_type (NULL, 0);
 
-  add_show_from_set
+  deprecated_add_show_from_set
     (add_set_cmd ((char *) "debugexec", class_support, var_boolean,
                  (char *) &debug_exec,
              (char *) "Set whether to display execution in child process.",
                  &setlist),
      &showlist);
 
-  add_show_from_set
+  deprecated_add_show_from_set
     (add_set_cmd ((char *) "remoteaddhost", class_support, var_boolean,
                  (char *) &remote_add_host,
                  (char *) "\
@@ -2001,21 +2002,21 @@ Set whether to add this host to remote stub arguments for\n\
 debugging over a network.", &setlist),
      &showlist);
 
-  add_show_from_set
+  deprecated_add_show_from_set
     (add_set_cmd ((char *) "debugevents", class_support, var_boolean,
                  (char *) &debug_events,
          (char *) "Set whether to display kernel events in child process.",
                  &setlist),
      &showlist);
 
-  add_show_from_set
+  deprecated_add_show_from_set
     (add_set_cmd ((char *) "debugmemory", class_support, var_boolean,
                  (char *) &debug_memory,
        (char *) "Set whether to display memory accesses in child process.",
                  &setlist),
      &showlist);
 
-  add_show_from_set
+  deprecated_add_show_from_set
     (add_set_cmd ((char *) "debugexceptions", class_support, var_boolean,
                  (char *) &debug_exceptions,
       (char *) "Set whether to display kernel exceptions in child process.",
This page took 0.024544 seconds and 4 git commands to generate.