cvs commit: de-docproj/books/faq book.sgml

From: Benedict Reuschling <bcr(at)doc.bsdgroup.de>
Date: Thu, 14 May 2009 21:00:22 GMT

bcr 2009-05-14 21:00:22 UTC

  FreeBSD German Documentation Repository

  Modified files:
    books/faq book.sgml
  Log:
  MFen 1.1064
  
  Revision Changes Path
  1.696 +29 -17 de-docproj/books/faq/book.sgml
  
  Index: book.sgml
  ===================================================================
  RCS file: /home/cvs/de-docproj/books/faq/book.sgml,v
  retrieving revision 1.695
  retrieving revision 1.696
  diff -u -I$FreeBSDde.*$ -r1.695 -r1.696
  --- book.sgml 14 May 2009 20:40:14 -0000 1.695
  +++ book.sgml 14 May 2009 21:00:21 -0000 1.696
  @@ -3,9 +3,9 @@
       The FreeBSD German Documentation Project
   
   $FreeBSD$
  -$FreeBSDde: de-docproj/books/faq/book.sgml,v 1.695 2009/05/14 20:40:14 bcr Exp $
  +$FreeBSDde: de-docproj/books/faq/book.sgml,v 1.696 2009/05/14 21:00:21 bcr Exp $
   
  - basiert auf: 1.1063
  + basiert auf: 1.1064
   
   -->
   
  @@ -9807,22 +9807,34 @@
   
           <answer>
             <para>In diesem Fall erstellen Sie am besten &man.ppp.8;
  - neu, indem Sie <literal>CFLAGS+=-g</literal> und
  - <literal>STRIP=</literal> am Ende von
  - <filename>/etc/make.conf</filename>
  - einf&uuml;gen und dann <command>make
  - <maketarget>install</maketarget>
  - <maketarget>clean</maketarget></command> in
  - <filename>/usr/src/usr.sbin/ppp</filename> ausf&uuml;hren. Suchen
  - Sie die Prozessnummer von &man.ppp.8; mit <command>pgrep
  - ppp</command>, wenn &man.ppp.8; sich
  - aufh&auml;ngt und f&uuml;hren Sie <command>gdb ppp
  - <replaceable>PID</replaceable></command> (als <command>gdb ppp
  - `pgrep ppp`</command>) aus. Am <command>gdb</command>-Prompt
  - k&ouml;nnen Sie <command>bt</command> benutzen, um einen Auszug des
  - Stacks zu erhalten.</para>
  -
  - <para>Senden Sie die Ergebnisse an &a.brian;.</para>
  + mit Debugging-Informationen neu und benutzen dann &man.gdb.1;, um
  + von dem h&auml;ngenden <application>ppp</application> Prozess eine
  + Aufzeichnung des Stacks zu erstellen. Um die
  + <application>ppp</application> Anwendung mit
  + Debugging-Informationen zu &uuml;bersetzen, geben Sie folgendes
  + ein:</para>
  +
  + <screen>&prompt.root; <userinput>cd /usr/src/usr.sbin/ppp</userinput>&prompt.root; <userinput>env DEBUG_FLAGS='-g' make clean</userinput>
  + &prompt.root; <userinput>env DEBUG_FLAGS='-g' make install</userinput></screen>
  + <para>Anschliessend sollten Sie <application>ppp</application> neu
  + starten und darauf warten, dass es wieder h&auml;ngt. Wenn die
  + Debug-Version von <application>ppp</application> h&auml;ngt,
  + starten Sie <application>gdb</application> f&uuml;r den
  + steckengebliebenen Prozess, indem Sie folgendes eingeben:</para>
  +
  + <screen>&prompt.root; <userinput>gdb ppp `pgrep ppp`</userinput></screen>
  +
  + <para>An der Eingabeaufforderung von <application>gdb</application>
  + k&ouml;nnen Sie die Befehle <command>bt</command> oder
  + <command>where</command> benutzen, um eine Aufzeichnung des Stacks
  + zu erhalten. Speichern Sie die Ausgabe der
  + <application>gdb</application>-Sitzung und
  + <quote>trennen</quote> Sie den laufenden Prozess &uuml;ber den
  + <command>quit</command> Befehl von
  + <application>gdb</application>.</para>
  +
  + <para>Schicken Sie zum Schluss das Log der
  + <application>gdb</application>-Sitzung an &a.brian;.</para>
           </answer>
         </qandaentry>
   
  

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-cvs-doc" in the body of the message
Received on Thu 14 May 2009 - 23:01:09 CEST

search this site