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 | ad4c72d28343c31f9d4036beb90d18e2efa390ea (patch) | |
tree | 203f93c385f7ab2b30553ec0122c18e28a967a8f /gdb/top.c | |
parent | 52bd14014eb55823e423588cc27f832901023199 (diff) | |
download | gdb-ad4c72d28343c31f9d4036beb90d18e2efa390ea.zip gdb-ad4c72d28343c31f9d4036beb90d18e2efa390ea.tar.gz gdb-ad4c72d28343c31f9d4036beb90d18e2efa390ea.tar.bz2 |
* 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
@@ -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) |