* remote-mips.c (mips_load): Ensure that PC gets updated
authorMark Alexander <marka@cygnus>
Tue, 15 Apr 1997 00:09:24 +0000 (00:09 +0000)
committerMark Alexander <marka@cygnus>
Tue, 15 Apr 1997 00:09:24 +0000 (00:09 +0000)
after a load on LSI target.

gdb/remote-mips.c

index 7434b21a4247348b04a37694187c86cc4c352fb6..b678edbe65f0c5c7b6ed958cedad48d6cf08f5e5 100644 (file)
@@ -3195,11 +3195,11 @@ mips_load (file, from_tty)
   mips_initialize ();
 
   /* Finally, make the PC point at the start address */
-  if (mips_monitor == MON_DDB)
+  if (mips_monitor != MON_IDT)
     {
-      /* Work around problem where DDB monitor does not update the
-         PC after a load. The following ensures that the write_pc()
-         WILL update the PC value: */
+      /* Work around problem where PMON monitor updates the PC after a load
+        to a different value than GDB thinks it has. The following ensures
+        that the write_pc() WILL update the PC value: */
       register_valid[PC_REGNUM] = 0;
     }
   if (exec_bfd)
This page took 0.02647 seconds and 4 git commands to generate.