2002-03-26 Jason Molenda (jason-cl@molenda.com) * event-top.c (command_line_handler): Don't check penultimate byte in zero-length strings. Index: event-top.c =================================================================== RCS file: /cvs/src/src/gdb/event-top.c,v retrieving revision 1.19 diff -u -p -r1.19 event-top.c --- event-top.c 2002/01/17 22:15:16 1.19 +++ event-top.c 2002/03/27 07:26:42 @@ -681,7 +681,7 @@ command_line_handler (char *rl) xfree (rl); /* Allocated in readline. */ - if (*(p - 1) == '\\') + if (p1 != rl && *(p - 1) == '\\') { p--; /* Put on top of '\'. */