Remove argument pc in get_next_pcs
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-arm-low.c
index c4f43bb247b45bc537fd49d91cd8f16449c82ed3..0f627069e0ed6678b3a11ce733c199c719d1a813 100644 (file)
@@ -923,7 +923,7 @@ arm_arch_setup (void)
 /* Fetch the next possible PCs after the current instruction executes.  */
 
 static VEC (CORE_ADDR) *
-arm_gdbserver_get_next_pcs (CORE_ADDR pc, struct regcache *regcache)
+arm_gdbserver_get_next_pcs (struct regcache *regcache)
 {
   struct arm_get_next_pcs next_pcs_ctx;
   VEC (CORE_ADDR) *next_pcs = NULL;
@@ -936,7 +936,7 @@ arm_gdbserver_get_next_pcs (CORE_ADDR pc, struct regcache *regcache)
                         1,
                         regcache);
 
-  next_pcs = arm_get_next_pcs (&next_pcs_ctx, pc);
+  next_pcs = arm_get_next_pcs (&next_pcs_ctx);
 
   return next_pcs;
 }
This page took 0.024139 seconds and 4 git commands to generate.