Remove argument pc in get_next_pcs
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-low.c
index b35b5693e94c4d8ba92e9e7eeefe75cf10facdb2..bce7580dec4ac5c7e2f153bf85710dddeb3e4a68 100644 (file)
@@ -4103,9 +4103,7 @@ install_software_single_step_breakpoints (struct lwp_info *lwp)
   VEC (CORE_ADDR) *next_pcs = NULL;
   struct cleanup *old_chain = make_cleanup (VEC_cleanup (CORE_ADDR), &next_pcs);
 
-  pc = regcache_read_pc (regcache);
-
-  next_pcs = (*the_low_target.get_next_pcs) (pc, regcache);
+  next_pcs = (*the_low_target.get_next_pcs) (regcache);
 
   for (i = 0; VEC_iterate (CORE_ADDR, next_pcs, i, pc); ++i)
     set_reinsert_breakpoint (pc);
This page took 0.026757 seconds and 4 git commands to generate.