Fix PR gdb/19676: Disable displaced stepping if /proc not mounted
[deliverable/binutils-gdb.git] / gdb / linux-tdep.c
index 555c302bc889d41e153150c88c80fcfd92ade242..f197aa76fabfc0484c7da2183e7b5fca6360b28c 100644 (file)
@@ -2426,7 +2426,8 @@ linux_displaced_step_location (struct gdbarch *gdbarch)
      location.  The auxiliary vector gets us the PowerPC-side entry
      point address instead.  */
   if (target_auxv_search (&current_target, AT_ENTRY, &addr) <= 0)
-    error (_("Cannot find AT_ENTRY auxiliary vector entry."));
+    throw_error (NOT_SUPPORTED_ERROR,
+                _("Cannot find AT_ENTRY auxiliary vector entry."));
 
   /* Make certain that the address points at real code, and not a
      function descriptor.  */
This page took 0.024867 seconds and 4 git commands to generate.