* serial.h (SERIAL_SET_TTY_STATE): Comment return value.
[deliverable/binutils-gdb.git] / gdb / remote-vx.c
index 3bcb6807485e267b19a9d0dd71aa02f337150b04..5c1aeaaf0fadc76143fa19f4184b56526cf422b1 100644 (file)
@@ -566,8 +566,8 @@ static void
 vx_run_files_info ()
 {
   printf_unfiltered ("\tRunning %s VxWorks process %s", 
-         vx_running? "child": "attached",
-         local_hex_string((unsigned long) inferior_pid));
+                    vx_running ? "child" : "attached",
+                    local_hex_string (inferior_pid));
   if (vx_running)
     printf_unfiltered (", function `%s'", vx_running);
   printf_unfiltered(".\n");
@@ -950,7 +950,16 @@ vx_wait (pid_to_wait_for, status)
       break;
 
     case EVENT_SIGNAL:
+#ifdef I80960
       status->value.sig = i960_fault_to_signal (rdbEvent.sigType);
+#else
+      /* Back in the old days, before enum target_signal, this code used
+        to add NSIG to the signal number and claim that PRINT_RANDOM_SIGNAL
+        would take care of it.  But PRINT_RANDOM_SIGNAL has never been
+        defined except on the i960, so I don't really know what we are
+        supposed to do on other architectures.  */
+      status->value.sig = TARGET_SIGNAL_UNKNOWN;
+#endif
       break;
     } /* switch */
   return pid;
This page took 0.023132 seconds and 4 git commands to generate.