From d96429cda9c28efea76a640032cb73f2c02679e4 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab@linux-m68k.org>
Date: Wed, 27 Mar 2002 21:20:15 +0000
Subject: [PATCH] 	* event-top.c (command_line_handler): Remove useless
 if.

---
 gdb/ChangeLog   |  4 ++++
 gdb/event-top.c | 23 ++++++++++-------------
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 93a2242b793..994eaa11392 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 3bf9c3474c4..b472694a347 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -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;
+      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;
-	}
+      /* 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