Updated copyright notices for most files.
[deliverable/binutils-gdb.git] / gdb / remote-mips.c
index ade658da744034c2a230804eea077040073dfa6e..244df5aedf99d96093f3654c304ff5ef6e3bc877 100644 (file)
@@ -1,7 +1,7 @@
 /* Remote debugging interface for MIPS remote debugging protocol.
 
    Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-   2003, 2004, 2006, 2007 Free Software Foundation, Inc.
+   2003, 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
 
    Contributed by Cygnus Support.  Written by Ian Lance Taylor
    <ian@cygnus.com>.
@@ -3274,7 +3274,8 @@ mips_load (char *file, int from_tty)
       /* 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: */
-      deprecated_register_valid[gdbarch_pc_regnum (current_gdbarch)] = 0;
+      regcache_set_valid_p (get_current_regcache (),
+                           gdbarch_pc_regnum (current_gdbarch), 0);
     }
   if (exec_bfd)
     write_pc (bfd_get_start_address (exec_bfd));
This page took 0.024013 seconds and 4 git commands to generate.