diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-08-02 23:48:37 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-08-02 23:48:37 +0000 |
commit | 6da787a878c938e680f13808dee254beacefbd43 (patch) | |
tree | 7c7b4d4f6655b210e33ca51f656f4552c9326ed3 /gdb/event-top.c | |
parent | 1392c9fbbf6fe8811e5374356b7fdf3b389068ab (diff) | |
download | gdb-6da787a878c938e680f13808dee254beacefbd43.tar.gz |
import gdb-1999-08-02 snapshot
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r-- | gdb/event-top.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c index 376352eb2b8..639a71bd176 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -634,9 +634,8 @@ command_line_handler (rl) free (rl); /* Allocated in readline. */ - if (p == linebuffer || *(p - 1) == '\\') + if (*(p - 1) == '\\') { - /* We come here also if the line entered is empty (just a 'return') */ p--; /* Put on top of '\'. */ if (*p == '\\') |