mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* main.c (gdb_readline): Avoid printf_filtered, which sets char
position wrong if used for the prompt. * utils.c (puts_filtered): Comment: NOT a puts() replacement!
This commit is contained in:
parent
2886f8b253
commit
c35475f9be
@ -1,5 +1,9 @@
|
||||
Fri Sep 18 02:07:39 1992 John Gilmore (gnu@cygnus.com)
|
||||
|
||||
* main.c (gdb_readline): Avoid printf_filtered, which sets char
|
||||
position wrong if used for the prompt.
|
||||
* utils.c (puts_filtered): Comment: NOT a puts() replacement!
|
||||
|
||||
Support for accessing arbitrary MIPS stack frames in memory.
|
||||
|
||||
* blockframe.c (get_prev_frame_info): If INIT_FRAME_PC_FIRST is
|
||||
|
@ -1010,7 +1010,10 @@ gdb_readline (prrompt)
|
||||
|
||||
if (prrompt)
|
||||
{
|
||||
printf_filtered (prrompt);
|
||||
/* Don't use a _filtered function here. It causes the assumed
|
||||
character position to be off, since the newline we read from
|
||||
the user is not accounted for. */
|
||||
fputs (prrompt, stdout);
|
||||
fflush (stdout);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user