forked from Imagelibrary/binutils-gdb
* top.c (gdb_readline): Always accept "rn" as a line-ending.
* event-top.c (gdb_readline2): Likewise.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2004-10-14 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* top.c (gdb_readline): Always accept "\r\n" as a line-ending.
|
||||||
|
* event-top.c (gdb_readline2): Likewise.
|
||||||
|
|
||||||
2004-10-14 Orjan Friberg <orjanf@axis.com>
|
2004-10-14 Orjan Friberg <orjanf@axis.com>
|
||||||
|
|
||||||
* cris-tdep.c (_initialize_cris_tdep): Re-add call to
|
* cris-tdep.c (_initialize_cris_tdep): Re-add call to
|
||||||
@@ -298,7 +303,6 @@
|
|||||||
* mips-tdep.c (mips32_next_pc): Check the register's contents,
|
* mips-tdep.c (mips32_next_pc): Check the register's contents,
|
||||||
not its number for BLEZ/BLEZL and BGTZ/BGTZL.
|
not its number for BLEZ/BLEZL and BGTZ/BGTZL.
|
||||||
|
|
||||||
>>>>>>> 1.6475
|
|
||||||
2004-10-07 Kei Sakamoto <sakamoto.kei@renesas.com>
|
2004-10-07 Kei Sakamoto <sakamoto.kei@renesas.com>
|
||||||
|
|
||||||
* m32r-tdep.c (decode_prologue): Support functions written
|
* m32r-tdep.c (decode_prologue): Support functions written
|
||||||
|
|||||||
@@ -855,15 +855,11 @@ gdb_readline2 (gdb_client_data client_data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (c == '\n')
|
if (c == '\n')
|
||||||
#ifndef CRLF_SOURCE_FILES
|
|
||||||
break;
|
|
||||||
#else
|
|
||||||
{
|
{
|
||||||
if (input_index > 0 && result[input_index - 1] == '\r')
|
if (input_index > 0 && result[input_index - 1] == '\r')
|
||||||
input_index--;
|
input_index--;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
result[input_index++] = c;
|
result[input_index++] = c;
|
||||||
while (input_index >= result_size)
|
while (input_index >= result_size)
|
||||||
|
|||||||
@@ -932,15 +932,11 @@ gdb_readline (char *prompt_arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (c == '\n')
|
if (c == '\n')
|
||||||
#ifndef CRLF_SOURCE_FILES
|
|
||||||
break;
|
|
||||||
#else
|
|
||||||
{
|
{
|
||||||
if (input_index > 0 && result[input_index - 1] == '\r')
|
if (input_index > 0 && result[input_index - 1] == '\r')
|
||||||
input_index--;
|
input_index--;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
result[input_index++] = c;
|
result[input_index++] = c;
|
||||||
while (input_index >= result_size)
|
while (input_index >= result_size)
|
||||||
|
|||||||
Reference in New Issue
Block a user