diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-10-14 12:44:24 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-10-14 12:44:24 +0000 |
commit | e94ade8cacf245c3b4afe1b60d4f7e185d16f8ae (patch) | |
tree | cbf7dca2233dda83e09ede9206bca86639945ead /gdb/top.c | |
parent | de74e62eaaf0a4bc27471e8bd6f95052a153306d (diff) | |
download | gdb-e94ade8cacf245c3b4afe1b60d4f7e185d16f8ae.tar.gz |
* top.c (gdb_readline): Always accept "rn" as a line-ending.
* event-top.c (gdb_readline2): Likewise.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/top.c b/gdb/top.c index e586efd9481..618dc86ecb2 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -932,15 +932,11 @@ gdb_readline (char *prompt_arg) } if (c == '\n') -#ifndef CRLF_SOURCE_FILES - break; -#else { if (input_index > 0 && result[input_index - 1] == '\r') input_index--; break; } -#endif result[input_index++] = c; while (input_index >= result_size) |