diff options
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -932,11 +932,15 @@ 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) |