* inferior.h (read_pc, write_pc): Remove.
[deliverable/binutils-gdb.git] / gdb / infcmd.c
index a209848d2f66fad283173decbebe7e1e8d51e174..ec83e3422fc3190a1377ae063a33d9d24547ad95 100644 (file)
@@ -392,7 +392,7 @@ post_create_inferior (struct target_ops *target, int from_tty)
   target_find_description ();
 
   /* Now that we know the register layout, retrieve current PC.  */
-  stop_pc = read_pc ();
+  stop_pc = regcache_read_pc (get_current_regcache ());
 
   /* If the solist is global across processes, there's no need to
      refetch it here.  */
This page took 0.027607 seconds and 4 git commands to generate.