* event-top.c (command_line_handler): Remove useless if.
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 27 Mar 2002 21:20:15 +0000 (21:20 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 27 Mar 2002 21:20:15 +0000 (21:20 +0000)
gdb/ChangeLog
gdb/event-top.c

index 93a2242b7933a7b15aa491583c65a536f6b3e802..994eaa113926a9bcebf6cb42b37003d2f6f5329c 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-27  Andreas Schwab  <schwab@suse.de>
+
+       * event-top.c (command_line_handler): Remove useless if.
+
 2002-03-27  Andreas Jaeger  <aj@suse.de>
 
        * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
index 3bf9c3474c4563092dd6b4d23ab915cdc0da4e98..b472694a347720be95078bbb8cc1afe6b85dd341 100644 (file)
@@ -685,20 +685,17 @@ command_line_handler (char *rl)
     {
       p--;                     /* Put on top of '\'.  */
 
-      if (*p == '\\')
-       {
-         readline_input_state.linebuffer = savestring (linebuffer,
-                                                       strlen (linebuffer));
-         readline_input_state.linebuffer_ptr = p;
-
-         /* We will not invoke a execute_command if there is more
-            input expected to complete the command. So, we need to
-            print an empty prompt here. */
-         more_to_come = 1;
-         push_prompt ("", "", "");
-         display_gdb_prompt (0);
-         return;
-       }
+      readline_input_state.linebuffer = savestring (linebuffer,
+                                                   strlen (linebuffer));
+      readline_input_state.linebuffer_ptr = p;
+
+      /* We will not invoke a execute_command if there is more
+        input expected to complete the command. So, we need to
+        print an empty prompt here. */
+      more_to_come = 1;
+      push_prompt ("", "", "");
+      display_gdb_prompt (0);
+      return;
     }
 
 #ifdef STOP_SIGNAL