Silence ARI for valid calls to abort
[deliverable/binutils-gdb.git] / gdb / break-catch-throw.c
index 2d91285312bb7e51d0b3aa1c449ea08ced2e6a92..e9523a6eb86014a207b74ffbfa137ae6799467d3 100644 (file)
@@ -115,7 +115,7 @@ fetch_probe_arguments (struct value **arg0, struct value **arg1)
          && pc_probe.prob->get_name () != "rethrow"))
     error (_("not stopped at a C++ exception catchpoint"));
 
-  n_args = pc_probe.prob->get_argument_count (frame);
+  n_args = pc_probe.prob->get_argument_count (get_frame_arch (frame));
   if (n_args < 2)
     error (_("C++ exception catchpoint has too few arguments"));
 
This page took 0.025364 seconds and 4 git commands to generate.