diff options
author | Mark Alexander <marka@cygnus> | 1997-04-15 00:09:24 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1997-04-15 00:09:24 +0000 |
commit | 8e7c36868b463734ee36a576acb833878cd90589 (patch) | |
tree | ad3fe35a722ff689445bff24fc69c7a5864b7402 | |
parent | 234c409626f5112cc1f0afaf30122a294c213c8b (diff) | |
download | gdb-8e7c36868b463734ee36a576acb833878cd90589.zip gdb-8e7c36868b463734ee36a576acb833878cd90589.tar.gz gdb-8e7c36868b463734ee36a576acb833878cd90589.tar.bz2 |
* remote-mips.c (mips_load): Ensure that PC gets updated
after a load on LSI target.
-rw-r--r-- | gdb/remote-mips.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 7434b21..b678edb 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -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) |