Add a test for --as-needed with symbol versioning
[platform/upstream/binutils.git] / gdb / spu-tdep.c
index fd54b1e..fdf435e 100644 (file)
@@ -1614,8 +1614,9 @@ spu_software_single_step (struct frame_info *frame)
          else
            {
              if (optim)
-               error (_("Could not determine address of "
-                        "single-step breakpoint."));
+               throw_error (OPTIMIZED_OUT_ERROR,
+                            _("Could not determine address of "
+                              "single-step breakpoint."));
              if (unavail)
                throw_error (NOT_AVAILABLE_ERROR,
                             _("Could not determine address of "