summaryrefslogtreecommitdiff
path: root/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended')
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-chrome-os/index.md51
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse add directory path 1.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse add directory path 2.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build behaviour tab.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build variables.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse consoles.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration Debugger Gdbserver Settings.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration Debugger Main.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration glibc Debugger Main.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration glibc main.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration main.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug icon.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse gdb_init file.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse glibc hit breakpoint.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse hammer icon.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse hit breakpoint.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse last debug configurations.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new build variable.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new debug configuration icon.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new project.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse output location.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse project view.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse select preferred launcher.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse source location.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse with indexer enabled.png.sha11
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/index.md222
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/getting-started-with-debug-stub/index.md121
-rw-r--r--chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/index.md19
29 files changed, 0 insertions, 438 deletions
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-chrome-os/index.md b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-chrome-os/index.md
deleted file mode 100644
index 8c7afa9da77..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-chrome-os/index.md
+++ /dev/null
@@ -1,51 +0,0 @@
----
-breadcrumbs:
-- - /nativeclient
- - Native Client
-- - /nativeclient/how-tos
- - '2: How Tos'
-- - /nativeclient/how-tos/debugging-documentation
- - Debugging Documentation
-- - /nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended
- - Debugging with debug stub (recommended)
-page_name: debugging-nacl-apps-in-chrome-os
-title: Debugging NaCl apps in Chrome OS
----
-
-It is not possible to run debugger on Chrome OS without using dev mode. Luckily,
-debugger uses network connection to communicate with the NaCl debug stub. This
-makes remote debugging possible with debugger running on a remote machine and
-NaCl application running on Chrome OS machine.
-
-## Prepare Chrome OS for NaCl debugging
-
-On chrome://flags page there are two flags related to NaCl debugging. We need to
-enable "Native Client GDB-based debugging" flag and switch "Restrict Native
-Client GDB-based debugging by pattern" to "Debug everything except secure shell"
-or "Debug only if URL manifest ends with debug.nmf" value. Changes on
-chrome://flags page require browser restart to take effect. Log out, close and
-open the lid to restart the browser. If they are set properly, secure shell
-extension should work, but NaCl application we are trying to debug should hang
-waiting for debugger to connect.
-
-## Tunneling debugger connection
-
-Once you launch your NaCl application now, the NaCl debug stub opens 4014 port
-on Chrome OS machine. This port is not accessible from outside, so we need to
-tunnel it through ssh connection to remote machine. There are two ways to do
-this.
-
-The first way is to open new secure shell tab or window and add "-R
-port-number:localhost:4014" to "SSH Arguments" field before connecting to remote
-computer. Then you can use secure shell to launch NaCl debugger on that machine
-where you should use "target remote :port-number" command to connect to debug
-stub running on Chrome OS.
-
-The second way is to use an existing secure shell tab or window. Press enter, ~,
-shift+c. This combination opens ssh-prompt where you can enter "-R
-port-number:localhost:4014" command. Pressing enter returns control to normal
-shell where you can launch NaCl debugger and use "target remote :port-number"
-command to connect to debug stub running on Chrome OS.
-
-In both cases the port number can be any free port number on the remote machine
-above 1024 including 4014. \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse add directory path 1.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse add directory path 1.png.sha1
deleted file mode 100644
index 10b369ee135..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse add directory path 1.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-ca64943da2b5ad39c4b082ce05ef6bc5d50f6ba3 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse add directory path 2.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse add directory path 2.png.sha1
deleted file mode 100644
index 688b4cf55de..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse add directory path 2.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-b65fdac12539c396a69eb5a8bcac50b08d977508 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build behaviour tab.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build behaviour tab.png.sha1
deleted file mode 100644
index e05359bfe83..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build behaviour tab.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-0217e502261b5990339938cf0e151cc6475d041a \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build variables.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build variables.png.sha1
deleted file mode 100644
index 5934dc4f52d..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build variables.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-7ec46055e3a1f1d8f67e0523e8680d114cb4ca88 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build.png.sha1
deleted file mode 100644
index 8b2b25aa248..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse build.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-7055e7c625e190952b97e8f8af0b40dba722cb16 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse consoles.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse consoles.png.sha1
deleted file mode 100644
index d107fc5d32e..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse consoles.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-9066bfef70126de352541877343b8bf0a891143b \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration Debugger Gdbserver Settings.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration Debugger Gdbserver Settings.png.sha1
deleted file mode 100644
index d931d716598..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration Debugger Gdbserver Settings.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-bec5808b06a22da25deff8483263b7cec981d28a \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration Debugger Main.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration Debugger Main.png.sha1
deleted file mode 100644
index cf82235a046..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration Debugger Main.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-e78f102d96325e58310fac701e30f94c55f44810 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration glibc Debugger Main.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration glibc Debugger Main.png.sha1
deleted file mode 100644
index 17d7d7c0301..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration glibc Debugger Main.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-0e046c14ee92b0f939ff9b0ea62977dd00e03813 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration glibc main.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration glibc main.png.sha1
deleted file mode 100644
index e3c1788a897..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration glibc main.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-f1c519aa044c7c7ae4bdb59031bd51b635fb8d26 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration main.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration main.png.sha1
deleted file mode 100644
index c92c53401a0..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug configuration main.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-c120f1938f8513eaa852f63ede2126c777938081 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug icon.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug icon.png.sha1
deleted file mode 100644
index 8584eafa229..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse debug icon.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-0d9788d92532b0ee7fba7ce0b93f4d0ad6c778cd \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse gdb_init file.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse gdb_init file.png.sha1
deleted file mode 100644
index 3f888727957..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse gdb_init file.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-79f88416480f41213ce2b4ac87710d2efbd47fff \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse glibc hit breakpoint.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse glibc hit breakpoint.png.sha1
deleted file mode 100644
index 72068aeb700..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse glibc hit breakpoint.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-0c98492e6c4bed40599fc61dbfe44711eb7b0576 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse hammer icon.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse hammer icon.png.sha1
deleted file mode 100644
index 9c2c4345d88..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse hammer icon.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-ea173ca1523505dbe55d04b37411809a23766643 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse hit breakpoint.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse hit breakpoint.png.sha1
deleted file mode 100644
index 8d578dd84db..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse hit breakpoint.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-5ff7261a75a702d6ee9606570c16565c57520b75 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse last debug configurations.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse last debug configurations.png.sha1
deleted file mode 100644
index 49a9695a226..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse last debug configurations.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-f565b31f9413db44cbba83a9a8685cf05fe56109 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new build variable.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new build variable.png.sha1
deleted file mode 100644
index 97a4d9d2353..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new build variable.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-9d14e3854ff56820abbdc18f0bd10b880fa6d1a0 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new debug configuration icon.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new debug configuration icon.png.sha1
deleted file mode 100644
index 6ca1151e012..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new debug configuration icon.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-e186a744d20b1ef135dff670ad94f6870c93aa05 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new project.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new project.png.sha1
deleted file mode 100644
index 5f6a8b60c64..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse new project.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-03a39fa04ee83dcc4d323a70df939a1cdddd9c27 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse output location.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse output location.png.sha1
deleted file mode 100644
index 66ada924981..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse output location.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-599c895aebaec53f8775d0ba12af5385101b7dea \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse project view.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse project view.png.sha1
deleted file mode 100644
index 50c5c875e6d..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse project view.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-f288a4e038d156f78555c26ea6703f67b5ff582e \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse select preferred launcher.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse select preferred launcher.png.sha1
deleted file mode 100644
index 77e740b7734..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse select preferred launcher.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-8c91e6461916b23f0478ecd94f15a6a12d9573f4 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse source location.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse source location.png.sha1
deleted file mode 100644
index 76191ae9887..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse source location.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-f539c3ce5f461bad6b652e8efd05f18e13ce85e9 \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse with indexer enabled.png.sha1 b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse with indexer enabled.png.sha1
deleted file mode 100644
index ba080511cfc..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse with indexer enabled.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-1424cd15ac7fdaee490cd965e023001a17a729bb \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/index.md b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/index.md
deleted file mode 100644
index 6014b39c661..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/index.md
+++ /dev/null
@@ -1,222 +0,0 @@
----
-breadcrumbs:
-- - /nativeclient
- - Native Client
-- - /nativeclient/how-tos
- - '2: How Tos'
-- - /nativeclient/how-tos/debugging-documentation
- - Debugging Documentation
-- - /nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended
- - Debugging with debug stub (recommended)
-page_name: debugging-nacl-apps-in-eclipse-cdt
-title: Debugging NaCl apps in Eclipse CDT
----
-
-Eclipse CDT plugin is designed for development with GNU tools. Its flexibility
-allows to configure it for developing NaCl applications without using any
-additional plugins. The cost of this flexibility is that a lot of advanced
-features are not available. The following instructions are written for Windows
-but they can be used on any OS if you replace Windows paths to paths on your OS.
-
-## Creating NaCl project
-
-Create NaCl Project directory inside Eclipse workspace
-(C:\\Users\\username\\workspace by default). Copy all files from
-nacl_sdk\\pepper_22\\examples\\hello_world except hello_world.c to this
-directory. Create src subdirectory and copy hello_world.c file there. Placing
-source files in the src directory makes cleaner project structure. Now go to
-File->New->Makefile Project with Existing Code menu in Eclipse. Choose
-project name, enter project folder location and select Cross GCC toolchain.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20new%20project.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20new%20project.png)
-
-Your new project will look like this.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20project%20view.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20project%20view.png)
-
-## Building NaCl project
-
-Open Makefile in the editor. Comment out lines
-ALL_TARGETS+=win/Debug/hello_world.nmf and
-ALL_TARGETS+=win/Release/hello_world.nmf and replace hello_world.c with
-src/hello_world.c (Edit-&gt;Find/Replace... in the menu or Ctrl+F with default
-key bindings). Then right click on the project and choose Preferences in the
-popup menu. Go to C/C++ Build-&gt;Build Variables page and add NACL_SDK_ROOT
-variable. Point the variable to the pepper version you want to build with. If
-you downloaded NaCl SDK to c:\\nacl_sdk directory and want to use 22 pepper, set
-it to c:\\nacl_sdk\\pepper_22.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20new%20build%20variable.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20new%20build%20variable.png)
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20build%20variables.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20build%20variables.png)
-
-Now we can use this variable to set build command on C/C++ Build page to
-${NACL_SDK_ROOT}/tools/make NACL_SDK_ROOT=${NACL_SDK_ROOT}. On Linux and Mac use
-make NACL_SDK_ROOT=${NACL_SDK_ROOT}.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20build.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20build.png)
-
-Enable parallel build on Behaviour tab.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20build%20behaviour%20tab.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20build%20behaviour%20tab.png)
-
-Press OK in properties window. You can now build the project by right clicking
-on it and selecting Build Project in the popup menu or by pressing hammer icon
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20hammer%20icon.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20hammer%20icon.png)
-in the toolbar. Make build log will be shown in console view.
-
-## Set up eclipse indexer
-
-Eclipse indexer doesn't use external compiler and so it should be configured
-separately. Open project properties and go to C/C++ General-&gt;Paths and
-Symbols page. Open Source Location tab, add src folder using Add Folder...
-button and remove root of the project using Delete button.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20source%20location.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20source%20location.png)
-
-Then go to Output Location path, add glibc and newlib folders there and remove
-root of the project.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20output%20location.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20output%20location.png)
-
-Now let us setup include paths. Go to Includes tab and press Add... button.
-Enter ${NACL_SDK_ROOT}/include in the directory field and select Add to all
-configurations and Add to all languages checkboxes.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20add%20directory%20path%201.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20add%20directory%20path%201.png)
-
-Then press Add... button again and add
-${NACL_SDK_ROOT}/toolchain/win_x86_glibc/x86_64-nacl/include directory (replace
-win_x86_glibc with linux_x86_glibc or mac_x86_glibc if you use Linux or Mac OS X
-accordingly).
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20add%20directory%20path%202.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20add%20directory%20path%202.png)
-
-Press OK button in properties window and open hello_world.c. There should not be
-any compile errors now.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20with%20indexer%20enabled.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20with%20indexer%20enabled.png)
-
-## Debug NaCl newlib application
-
-Launching and debugging applications in Eclipse is done via running and
-debugging configurations. Usually they are created automatically. Unfortunately,
-NaCl debugging is done using remote debugging protocol. Setting up remote
-connection requires parameters that can't be determined automatically. So we
-have to create debugging configuration by hand. Go to Run-&gt;Debug
-Configurations... menu or press on debug icon arrow [<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20icon.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20icon.png)
-in toolbar and choose Debug Configurations... in the popup menu. Select C/C++
-Remote Application in Debug Configurations windows and press new button [<img
-alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20new%20debug%20configuration%20icon.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20new%20debug%20configuration%20icon.png)
-above filter text field or choose New in the popup menu.
-
-Change configuration name to NaCl Project newlib and fill C/C++ Application
-field with ${workspace_loc}\\NaCl
-Project\\newlib\\Debug\\hello_world_x86_64.nexe. We use ${workspace_loc} instead
-of ${project_loc} since the later depends on currently selected project.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20configuration%20main.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20configuration%20main.png)
-
-Now press Select other link at the bottom of the window. If you don't see the
-link, skip this step. Select Use configuration specific settings checkbox and
-choose GDB (DSF) Manual Remote Debugging Launcher in the list.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20select%20preferred%20launcher.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20select%20preferred%20launcher.png)
-
-Press OK and go to the debugger tab. Change Stop on startup at field to
-Instance_DidCreate or deselect the Stop on startup checkbox. On Main tab in
-Debugger Options set GDB debugger field to
-c:\\nacl_sdk\\pepper_canary\\toolchain\\win_x86_glibc\\bin\\x86_64-nacl-gdb.exe.
-Ensure that Non-stop mode checkbox is not selected since nacl-gdb doesn't
-support this mode.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20configuration%20Debugger%20Main.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20configuration%20Debugger%20Main.png)
-
-Set port number to 4014 in Gdbserver Settings tab.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20configuration%20Debugger%20Gdbserver%20Settings.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20configuration%20Debugger%20Gdbserver%20Settings.png)
-
-Save debug configuration by clicking Apply button.
-
-Now you need to launch chrome with --no-sandbox and --enable-nacl-debug flags
-and run your NaCl application. NaCl debug stub will stop application at first
-instruction. Then you need to open Debug Configuration window, select our debug
-configuration and press Debug button. Next time, you can launch it by pressing
-debug icon arrow that shows 10 last debug configurations.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20last%20debug%20configurations.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20last%20debug%20configurations.png)
-
-When program will stop on the start breakpoint or breakpoint you set in project,
-Eclipse will switch to debug perspective.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20hit%20breakpoint.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20hit%20breakpoint.png)
-
-## Debugging NaCl glibc application
-
-Create gdb_init.txt file and add line nacl-manifest
-"c:\\\\Users\\\\username\\\\workspace\\\\NaCl
-Project\\\\glibc\\\\Debug\\\\hello_world.nmf". If you use debugger from
-pepper_29+, you don't need to double slashes.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20gdb_init%20file.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20gdb_init%20file.png)
-
-Go to Run-&gt;Debug configuration... menu and duplicate newlib debug
-configuration using Duplicate item in popup menu. Change new configuration name
-to NaCl Project glibc and C/C++ Application field to ${workspace_loc}\\NaCl
-Project\\glibc\\Debug\\lib64\\runnable-ld.so.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20configuration%20glibc%20main.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20configuration%20glibc%20main.png)
-
-Then go to Debugger tab and change GDB command file on Main subtab to
-c:\\Users\\username\\workspace\\NaCl Project\\gdb_init.txt. Ensure that Non-stop
-mode checkbox is not selected.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20configuration%20glibc%20Debugger%20Main.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20debug%20configuration%20glibc%20Debugger%20Main.png)
-
-Press Apply button and close the window. Now you need to run your NaCl
-application in chrome with --enable-nacl-debug and --no-sandbox flags, select
-this debug configuration in Debug Configurations window and press Debug button.
-You may see some error messages like
-
-```none
-No source file named hello_world.c.
-warning: Could not load shared library symbols for runnable-ld.so.
-Do you need "set solib-search-path" or "set sysroot"?
-```
-
-You should ignore them.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20glibc%20hit%20breakpoint.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20glibc%20hit%20breakpoint.png)
-
-## Troubleshooting
-
-If something goes wrong, you can look on gdb input and output. Press on the
-arrow of console icon in Console view to show "NaCl Project glibc \[C/C++ Remote
-Application\] gdb traces" console.
-
-[<img alt="image"
-src="/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20consoles.png">](/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/debugging-nacl-apps-in-eclipse-cdt/eclipse%20consoles.png) \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/getting-started-with-debug-stub/index.md b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/getting-started-with-debug-stub/index.md
deleted file mode 100644
index 5ceee4ee604..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/getting-started-with-debug-stub/index.md
+++ /dev/null
@@ -1,121 +0,0 @@
----
-breadcrumbs:
-- - /nativeclient
- - Native Client
-- - /nativeclient/how-tos
- - '2: How Tos'
-- - /nativeclient/how-tos/debugging-documentation
- - Debugging Documentation
-- - /nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended
- - Debugging with debug stub (recommended)
-page_name: getting-started-with-debug-stub
-title: Getting started with debug stub
----
-
-### Introduction
-
-New versions of chrome include NaCl with debug stub support. If
---enable-nacl-debug switch is passed to chrome or -g switch is passed to
-sel_ldr, all NaCl applications start with the debug stub enabled. The debug stub
-stops untrusted code at the first instruction inside the IRT and listens on a
-TCP port of localhost network interface (4014 currently) for incoming connection
-from nacl-gdb. When nacl-gdb connects to the debug stub, they talk with each
-other using RSP protocol. Since remote debugging does not need to use
-OS-specific debugging functions, we need only one version of nacl-gdb for both
-32 and 64-bit debugging. Moreover, if one forwards port to a remote machine, it
-is possible to use nacl-gdb for one OS to debug NaCl application on a different
-OS. All the differences between OSes are abstracted away by debug stub.
-
-## Get the debugger
-
-The debugger is included in the latest version of NaCl SDK. It is located in
-nacl_sdk/pepper_canary/toolchain/linux_x86_glibc/bin/x86_64-nacl-gdb on Linux,
-nacl_sdk/pepper_canary/toolchain/win_x86_glibc/bin/x86_64-nacl-gdb.exe on
-Windows, etc. Debuggers in \*_x86_glibc and \*_x86_newlib directories are
-exactly the same. You can use either one on them. Moreover, unlike the rest of
-SDK, you can copy debugger to a different folder.
-
-Regarding the pepper and chrome versions, the latest debugger should work with
-the previous versions of chrome/sel_ldr but new functionality may be missing.
-
-## Debugging NaCl applications in Chrome
-
-NaCl applications can be launched using two ways in Chrome. You can load
-unpacked extension on [chrome://chrome/extensions/](javascript:void(0);) page
-(switch on developers mode) and open it. Alternative way is to launch a web
-server and either launch chrome with --enable-nacl switch or enable NaCl
-applications outside of Chrome Web Store or
-[chrome://flags/](javascript:void(0);) page (you need to relaunch chrome after
-that). In order to switch on debug stub support, you need to pass
---enable-nacl-debug and --no-sandbox switches to chrome. Create a shell script
-that launches chrome with these flags. You can also add
---user-data-dir=some-path to use a separate profile.
-
-### Debugging newlib applications
-
-In order to debug NaCl application, you need to launch Chrome and open NaCl
-application there first. Then run x86_64-nacl-gdb. Enter following commands
-there. If you have spaces in paths, use quotes and double all slashes (or use
-backslashes). For pepper29+ debugger you should use quotes without doubling
-slashes.
-
-```none
-(gdb) file c:\nacl_sdk\pepper_canary\examples\hello_world\newlib\Debug\hello_world_x86_64.nexe
-(gdb) target remote :4014
-```
-
-Point file command to 64-bit nexe on 64-bit platforms and to 32-bit nexe on
-32-bit platforms. Then you can use all normal gdb commands.
-
-### Debugging glibc applications
-
-Debugging glibc applications is harder. You need to use following commands.
-
-```none
-(gdb) nacl-manifest c:\nacl_sdk\pepper_canary\examples\hello_world\glibc\Debug\hello_world.nmf
-(gdb) target remote :4014
-```
-
-If you launched NaCl as unpacked chrome extension or from local http server, you
-already have the NaCl manifest file which you should use here. If you launched
-NaCl from an external http server, you need to download \*.nmf, \*.nexe and
-\*.so files of the NaCl application and place them in the same directory
-structure that is used on the server (\*.nmf file uses relative paths to
-reference main executable and libraries). Then point nacl-manifest command to
-the downloaded \*.nmf file.
-
-### Debugging with IRT symbols
-
-You can additionally load IRT symbols. This helps to understand what application
-is doing when it is stopped inside NaCl syscall.
-
-```none
-nacl-irt c:\Users\username\AppData\Local\Google\Chrome SxS\Application\23.0.x.x\nacl_irt_x86_64.nexe
-```
-
-### Automatic debugger launching
-
-Chrome can be configured to launch debugger automatically. Use additional
-command-line option --nacl-gdb="path-to-nacl-gdb" on Windows or
---nacl-gdb="command line to launch nacl-gdb in the new shell" on Linux. You can
-use --nacl-gdb-script="path-to-gdb-script" to execute your gdb script at start
-up. Chrome will autodetect its IRT location and execute nacl-irt command.
-Additionally, if NaCl application is in a chrome extension, nacl-manifest
-command is executed automatically. Example chrome command lines are shown below.
-
-```none
-chrome.exe --enable-nacl-debug --no-sandbox "--nacl-gdb=c:\nacl_sdk\pepper_canary\toolchain\win_x86_glibc\bin\x86_64-nacl-gdb" "--nacl-gdb-script=c:\Users\User Name\Documents\script.gdb"
-```
-
-```none
-./chrome --enable-nacl-debug --no-sandbox "--nacl-gdb=xterm /home/user_name/nacl_sdk/pepper_canary/toolchain/linux_x86_glibc/bin/x86_64-nacl-gdb" --nacl-gdb-script=/home/user_name/script.gdb
-```
-
-## Debugging NaCl applications in sel_ldr
-
-Debugging command line NaCl applications is enabled by passing -g switch to
-sel_ldr. Newlib debugging is the same, glibc debugging requires creating an
-artificial manifest. You need to reference runnable-ld.so, main executable and
-all \*.so libraries using relative paths from manifest file. If you want to load
-IRT symbols, use nacl-irt command with the same IRT that is passed to sel_ldr
-using -B switch. \ No newline at end of file
diff --git a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/index.md b/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/index.md
deleted file mode 100644
index 9a836944c1a..00000000000
--- a/chromium/docs/website/site/nativeclient/how-tos/debugging-documentation/debugging-with-debug-stub-recommended/index.md
+++ /dev/null
@@ -1,19 +0,0 @@
----
-breadcrumbs:
-- - /nativeclient
- - Native Client
-- - /nativeclient/how-tos
- - '2: How Tos'
-- - /nativeclient/how-tos/debugging-documentation
- - Debugging Documentation
-page_name: debugging-with-debug-stub-recommended
-title: Debugging with debug stub (recommended)
----
-
-Debug stub is a new way to debug NaCl applications. If --enable-nacl-debug and
---no-sandbox switches are passed to chrome or -g switch is passed to sel_ldr, a
-local TCP port is opened that accepts incoming TCP connections from a debugger
-via RSP protocol. This port is opened on localhost network interface, so one
-need to forward this port to debug NaCl application from remote computer. This
-method of debugging is preferred since debug stub inside NaCl process have an
-intimate knowledge about NaCl application. \ No newline at end of file