* serial.h (SERIAL_SET_TTY_STATE): Comment return value.
[deliverable/binutils-gdb.git] / gdb / energize.c
index b9bce2fb1faddad992364f6ad4b40826939453be..afbfb04b0a43cd05c1c5f50cebe874011fa40161 100644 (file)
@@ -693,7 +693,7 @@ execute_command_1(va_alist)
 }
 
 #ifdef KERNEL_RECORD
-FILE *kerout;
+GDB_FILE *kerout;
 
 static int
 kernel_record(fd, ptr, num)
@@ -1117,7 +1117,7 @@ kernel_dispatch(queue)
 
            while (*text == ' ' || *text == '\t') text++;
 
-           if (strcmp(text, "]*[") == 0) /* XXX - What does this mean??? */
+           if (STREQ(text, "]*[")) /* XXX - What does this mean??? */
              break;
 
            if (*text != '\000')
@@ -1576,9 +1576,9 @@ energize_call_command(cmdblk, arg, from_tty)
   else
     (*cmdblk->function.cfunc)(arg, from_tty);
 
-  if (strcmp(cmdblk->name, "up") == 0
-      || strcmp(cmdblk->name, "down") == 0
-      || strcmp(cmdblk->name, "frame") == 0)
+  if (STREQ(cmdblk->name, "up")
+      || STREQ(cmdblk->name, "down")
+      || STREQ(cmdblk->name, "frame"))
     send_location(get_frame_info(selected_frame)->pc,
                  selected_frame_level);
   print_prompt();
This page took 0.023422 seconds and 4 git commands to generate.