From 794868783dbcf1617254303e90616561339fa0ee Mon Sep 17 00:00:00 2001 From: Mark Alexander Date: Sun, 5 Oct 1997 01:53:22 +0000 Subject: [PATCH] * remote-mips.c (mips-initialize): Work around flakiness in some versions of PMON after loading a program. --- gdb/remote-mips.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index b569a2bd88e..3003add0837 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); -- 2.30.2