diff options
-rw-r--r-- | gdb/remote-mips.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index b569a2b..3003add 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -1504,6 +1504,11 @@ mips_initialize () if (mips_monitor != MON_IDT) { + /* Sometimes PMON ignores the first few characters in the first + command sent after a load. Sending a blank command gets + around that. */ + mips_send_command ("\r", -1); + /* Ensure the correct target state: */ if (mips_monitor != MON_LSI) mips_send_command ("set regsize 64\r", -1); |