From 8525d5384ed244dda917df1a1799df52960a8258 Mon Sep 17 00:00:00 2001 From: Thomas Gales Date: Wed, 17 May 2023 14:28:25 +0000 Subject: [PATCH] Fix broken doc links Links to/from run_with_crashpad.md were broken due to a location change. Change-Id: I5bb6d1f945bd22d9e55affa60909aa3b58e532bc Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4544457 Reviewed-by: Mark Mentovai --- doc/appengine/src/crashpad-home/main.go | 2 +- doc/man.md | 2 +- handler/crashpad_handler.md | 4 ++-- tools/run_with_crashpad.md | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/appengine/src/crashpad-home/main.go b/doc/appengine/src/crashpad-home/main.go index 1af2125e..d988af3c 100644 --- a/doc/appengine/src/crashpad-home/main.go +++ b/doc/appengine/src/crashpad-home/main.go @@ -63,7 +63,7 @@ func handler(w http.ResponseWriter, r *http.Request) { "/man/generate_dump.html": mainBaseURL + "tools/generate_dump.md", "/man/index.html": mainBaseURL + "doc/man.md", "/man/on_demand_service_tool.html": mainBaseURL + "tools/mac/on_demand_service_tool.md", - "/man/run_with_crashpad.html": mainBaseURL + "tools/mac/run_with_crashpad.md", + "/man/run_with_crashpad.html": mainBaseURL + "tools/run_with_crashpad.md", } ctx := appengine.NewContext(r) diff --git a/doc/man.md b/doc/man.md index 7789a014..098c8483 100644 --- a/doc/man.md +++ b/doc/man.md @@ -27,7 +27,7 @@ limitations under the License. * [catch_exception_tool](../tools/mac/catch_exception_tool.md) * [exception_port_tool](../tools/mac/exception_port_tool.md) * [on_demand_service_tool](../tools/mac/on_demand_service_tool.md) - * [run_with_crashpad](../tools/mac/run_with_crashpad.md) + * [run_with_crashpad](../tools/run_with_crashpad.md) ## Section 8: Dӕmons diff --git a/handler/crashpad_handler.md b/handler/crashpad_handler.md index 324957de..3e722bad 100644 --- a/handler/crashpad_handler.md +++ b/handler/crashpad_handler.md @@ -83,7 +83,7 @@ closed. It is not normally appropriate to invoke this program directly. Usually, it will be invoked by a Crashpad client using the Crashpad client library, or started by another system service. On macOS, arbitrary programs may be run with a Crashpad -handler by using [run_with_crashpad(1)](../tools/mac/run_with_crashpad.md) to +handler by using [run_with_crashpad(1)](../tools/run_with_crashpad.md) to establish the Crashpad client environment before running a program. ## Options @@ -321,7 +321,7 @@ establish the Crashpad client environment before running a program. [catch_exception_tool(1)](../tools/mac/catch_exception_tool.md), [crashpad_database_util(1)](../tools/crashpad_database_util.md), [generate_dump(1)](../tools/generate_dump.md), -[run_with_crashpad(1)](../tools/mac/run_with_crashpad.md) +[run_with_crashpad(1)](../tools/run_with_crashpad.md) ## Resources diff --git a/tools/run_with_crashpad.md b/tools/run_with_crashpad.md index 7210c1d4..69302eef 100644 --- a/tools/run_with_crashpad.md +++ b/tools/run_with_crashpad.md @@ -27,7 +27,7 @@ run_with_crashpad—Run a program with a Crashpad exception handler ## Description Starts a Crashpad exception handler server such as -[crashpad_handler(8)](../../handler/crashpad_handler.md) and becomes its client, +[crashpad_handler(8)](../handler/crashpad_handler.md) and becomes its client, setting an exception port referencing the handler. Then, executes _COMMAND_ along with any arguments specified (_ARG…_) with the new exception port in effect. @@ -88,7 +88,7 @@ Illegal instruction: 4 ``` Starts a Crashpad exception handler server at a nonstandard path, and runs -[exception_port_tool(1)](exception_port_tool.md) to show the task-level +[exception_port_tool(1)](mac/exception_port_tool.md) to show the task-level exception ports. ``` @@ -118,8 +118,8 @@ task exception port 0, mask 0x1c00 (CRASH|RESOURCE|GUARD), port 0x30b, behavior ## See Also -[crashpad_handler(8)](../../handler/crashpad_handler.md), -[exception_port_tool(1)](exception_port_tool.md) +[crashpad_handler(8)](../handler/crashpad_handler.md), +[exception_port_tool(1)](mac/exception_port_tool.md) ## Resources