summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hurd/debbuging.mdwn21
-rw-r--r--hurd/debugging.mdwn (renamed from Hurd/Debugging.mdwn)17
-rw-r--r--hurd/debugging/glibc.mdwn (renamed from Hurd/DebuggingGlibc.mdwn)0
-rw-r--r--hurd/debugging/subhurd.mdwn (renamed from Hurd/DebuggingViaSubhurds.mdwn)22
-rw-r--r--hurd/neighborhurd.mdwn7
-rw-r--r--hurd/subhurd.mdwn (renamed from Hurd/SubhurdHowto.mdwn)4
6 files changed, 32 insertions, 39 deletions
diff --git a/hurd/debbuging.mdwn b/hurd/debbuging.mdwn
deleted file mode 100644
index 20446b6e..00000000
--- a/hurd/debbuging.mdwn
+++ /dev/null
@@ -1,21 +0,0 @@
-[[license text="""
-Copyright © 2007 Free Software Foundation, Inc.
-
-Permission is granted to copy, distribute and/or modify this document under the
-terms of the GNU Free Documentation License, Version 1.2 or any later version
-published by the Free Software Foundation; with no Invariant Sections, no
-Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included
-in the section entitled [[GNU_Free_Documentation_License|/fdl.txt]].
-
-By contributing to this page, you agree to assign copyright for your
-contribution to the Free Software Foundation. The Free Software Foundation
-promises to always use either a verbatim copying license or a free
-documentation license when publishing your contribution. We grant you back all
-your rights under copyright, including the rights to copy, modify, and
-redistribute your contributions.
-"""]]
-
-See:
-
-* [[NeighborHurd]]
-* [[NonInvasiveDebugging]]
diff --git a/Hurd/Debugging.mdwn b/hurd/debugging.mdwn
index 5ef3d013..da35d819 100644
--- a/Hurd/Debugging.mdwn
+++ b/hurd/debugging.mdwn
@@ -15,12 +15,19 @@ your rights under copyright, including the rights to copy, modify, and
redistribute your contributions.
"""]]
-* [[DebuggingGlibc]]
-* [[DebuggingViaSubhurds]] - To debug system servers
+# Strategies
-# GDB
+* [[subhurd]]
+* [[noninvasivedebugging]]
+
+# The GNU Debugger *GDB*
* [Manual](http://sourceware.org/gdb/documentation/)
-* [Hurd Specific](http://sourceware.org/gdb/current/onlinedocs/gdb_19.html#Hurd%20Native).
-* [[NonInvasiveDebugging]] - Avoiding Deadload
+* [Hurd-specific features](http://sourceware.org/gdb/current/onlinedocs/gdb_19.html#Hurd%20Native).
+* [[noninvasivedebugging]]
* [When disassemble doesn't work](http://lists.gnu.org/archive/html/bug-hurd/2007-02/msg00039.html)
+
+
+# About Specific Packages
+
+* [[glibc]]
diff --git a/Hurd/DebuggingGlibc.mdwn b/hurd/debugging/glibc.mdwn
index 2fec3b9c..2fec3b9c 100644
--- a/Hurd/DebuggingGlibc.mdwn
+++ b/hurd/debugging/glibc.mdwn
diff --git a/Hurd/DebuggingViaSubhurds.mdwn b/hurd/debugging/subhurd.mdwn
index 332d3cbf..6aa64e99 100644
--- a/Hurd/DebuggingViaSubhurds.mdwn
+++ b/hurd/debugging/subhurd.mdwn
@@ -1,12 +1,14 @@
-## <a name="General_Information"> General Information </a>
+# General Information
-See the [[SubhurdHowto]] for general information about subhurds.
+* [[/hurd/neighborhurd]]
+* [[/hurd/subhurd]]
-----
+---
-## <a name="Debugging_the_Hurd_Startup_Proce"> Debugging the Hurd Startup Process </a>
+# Debugging the Hurd Startup Process
-_one.full_ is the subhurd's root file system image and has been installed as follows: [TODO]
+_one.full_ is the subhurd's root file system image and has been installed as
+follows: [TODO]
_Wx_ translates to terminal window _x_.
@@ -16,7 +18,9 @@ W1
$ sudo boot -I -d -s -D one.full/ one.full/boot/script.boot one.full.ext2
Pausing. . .
-(In theory it shouldn't be neccessary to run the subhurd as user _root_, but in practice [that doesn't work at the moment](http://savannah.gnu.org/bugs/?17341).)
+(In theory it shouldn't be neccessary to run the subhurd as user _root_, but in
+practice [that doesn't work at the
+moment](http://savannah.gnu.org/bugs/?17341).)
W2
@@ -33,7 +37,9 @@ W2
warning: Can't modify tracing state for pid 853: No signal thread
Can't fetch registers from thread 1: No such thread
-(The _boot_ program [could be modified to print out the pids](http://savannah.gnu.org/bugs/?19254), so that one wouldn't have to fumble with _ps_.)
+(The _boot_ program [could be modified to print out the
+pids](http://savannah.gnu.org/bugs/?19254), so that one wouldn't have to fumble
+with _ps_.)
W3
@@ -76,7 +82,7 @@ W3
(gdb) x/i $pc
0x168f2 <__mach_port_mod_refs+82>: call 0x151b0 <__mig_get_reply_port>
-----
+---
Sources:
diff --git a/hurd/neighborhurd.mdwn b/hurd/neighborhurd.mdwn
index b4d25586..76ae20d1 100644
--- a/hurd/neighborhurd.mdwn
+++ b/hurd/neighborhurd.mdwn
@@ -27,12 +27,13 @@ When extra hardware is not available, it is possible to
use a sub-hurd. A sub-Hurd is like a neighbor Hurd,
however, makes use of some resources provided by another
Hurd. For instance, backing store and the console.
-([[SubhurdHowto]])
+([[subhurd]])
Sub-hurds are extremely useful for debugging core
servers as it is possible to attach to them with gdb
-from the parent ([[DebuggingViaSubhurds]]. This avoids
+from the parent ([[debugging_via_neighborhurds|debugging/neighborhurd]]).
+This avoids
deadlock, e.g., when the instance of gdb stops the
server but requires its use.
-(Note: it is possible to use [[NonInvasiveDebugging]],
+(Note: it is possible to use [[noninvasivedebugging]],
but this is less flexible.)
diff --git a/Hurd/SubhurdHowto.mdwn b/hurd/subhurd.mdwn
index df00dff5..7cf2bb76 100644
--- a/Hurd/SubhurdHowto.mdwn
+++ b/hurd/subhurd.mdwn
@@ -59,8 +59,8 @@ If you want to access the subhurd processes from the outside, e.g. for debugging
## <a name="Further_Info"> Further Info </a>
-On [[DebuggingViaSubhurds]] you can find information about how to use subhurd for debugging purposes.
+On [[debugging/subhurd]] you can find information about how to use subhurd for debugging purposes.
Roland's [tutorial](http://www.gnu.org/software/hurd/howto/subhurd.html)
-on setting up sub-hurds. \ No newline at end of file
+on setting up sub-hurds.