]> Cypherpunks repositories - gostls13.git/commitdiff
doc: move gdb doc back to /doc/ and de-emphasize on references page
authorAndrew Gerrand <adg@golang.org>
Tue, 27 Mar 2012 00:42:01 +0000 (11:42 +1100)
committerAndrew Gerrand <adg@golang.org>
Tue, 27 Mar 2012 00:42:01 +0000 (11:42 +1100)
Fixes #3399.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5919044

doc/debugging_with_gdb.html
doc/docs.html
doc/reference.html

index 1ac1c1fd8ac5841feb2e16d14b59d06e5764ba40..b2683913fc7b9694be92440cfbd136d8d844e4ff 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "Debugging Go Code with GDB",
-       "Path": "/ref/gdb"
+       "Path": "/doc/gdb"
 }-->
 
 <p><i>
index 709c081528eeed174b395e6b0cca61163a0de1b0..d94962845bb8444f9f6f0ae4d21e9b6e07dec471 100644 (file)
@@ -124,6 +124,7 @@ Guided tours of Go programs.
 <ul>
 <li><a href="/doc/articles/go_command.html">About the Go command</a> - why we wrote it, what it is, what it's not, and how to use it.</li>
 <li><a href="/doc/articles/c_go_cgo.html">C? Go? Cgo!</a> - linking against C code with <a href="/cmd/cgo/">cgo</a>.</li>
+<li><a href="/doc/gdb">Debugging Go Code with GDB</a></li>
 <li><a href="/doc/articles/godoc_documenting_go_code.html">Godoc: documenting Go code</a> - writing good documentation for <a href="/cmd/godoc/">godoc</a>.</li>
 <li><a href="http://blog.golang.org/2011/06/profiling-go-programs.html">Profiling Go Programs</a></li>
 </ul>
index 0eddc2352e782144db0b833438ad85759aa5fe78..628289f7be536b69e1f9a0018ad051281b6c9015 100644 (file)
@@ -37,11 +37,6 @@ one goroutine can be guaranteed to observe values produced by writes to the
 same variable in a different goroutine.
 </p>
 
-<h3 id="debugging_with_gdb"><a href="/ref/gdb">Debugging Go Code with GDB</a></h3>
-<p>
-Using GDB to debug Go programs.
-</p>
-
 <h4 id="subrepos">Sub-repositories</h4>
 
 <p>
@@ -62,6 +57,7 @@ Install them with "<code><a href="/cmd/go/#Download_and_install_packages_and_dep
 
 <ul>
 <li><a href="/doc/articles/c_go_cgo.html">C? Go? Cgo!</a> - linking against C code with <a href="/cmd/cgo/">cgo</a>.</li>
+<li><a href="/doc/gdb">Debugging Go Code with GDB</a></li>
 <li><a href="/doc/articles/defer_panic_recover.html">Defer, Panic, and Recover</a></li>
 <li><a href="/doc/articles/slices_usage_and_internals.html">Go Slices: usage and internals</a></li>
 <li><a href="/doc/articles/godoc_documenting_go_code.html">Godoc: documenting Go code</a> - writing good documentation for <a href="/cmd/godoc/">godoc</a>.</li>