<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://haypo.alwaysdata.net:443/wiki/skins/common/feed.css?63"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>http://haypo.alwaysdata.net:443/wiki/index.php?action=history&amp;feed=atom&amp;title=Gdb</id>
		<title>Gdb - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="http://haypo.alwaysdata.net:443/wiki/index.php?action=history&amp;feed=atom&amp;title=Gdb"/>
		<link rel="alternate" type="text/html" href="http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;action=history"/>
		<updated>2026-06-16T09:57:53Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.10.1</generator>

	<entry>
		<id>http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7678&amp;oldid=prev</id>
		<title>Haypo: /* Afficher une valeur */</title>
		<link rel="alternate" type="text/html" href="http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7678&amp;oldid=prev"/>
				<updated>2013-07-01T23:08:48Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Afficher une valeur&lt;/span&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Version du 1 juillet 2013 à 23:08&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 46&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 46&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;** '''print (*(char **) 0xbffffbc4)@2''' : Affiche les 2 premiers Ã©lÃ©ments du tableau de chaÃ®nes de caractÃ¨res commenÃ§ant Ã  l'adresse 0xbffffbc4&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;** '''print (*(char **) 0xbffffbc4)@2''' : Affiche les 2 premiers Ã©lÃ©ments du tableau de chaÃ®nes de caractÃ¨res commenÃ§ant Ã  l'adresse 0xbffffbc4&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;** '''print $eax''' : Affiche le contenu du registre $eax&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;** '''print $eax''' : Affiche le contenu du registre $eax&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;** '''ptype var''' : Affiche le type d'une variable&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* Les commandes Â« '''info''' Â» :&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* Les commandes Â« '''info''' Â» :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;** '''info registers''' : Affiche tous les registres (entiers)&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;** '''info registers''' : Affiche tous les registres (entiers)&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Haypo</name></author>	</entry>

	<entry>
		<id>http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7672&amp;oldid=prev</id>
		<title>Haypo: /* Multi-threading */</title>
		<link rel="alternate" type="text/html" href="http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7672&amp;oldid=prev"/>
				<updated>2012-11-23T23:16:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Multi-threading&lt;/span&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Version du 23 novembre 2012 à 23:16&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 58&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 58&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;** '''set tmp = 77''' : Assigne la valeur 77 Ã  la variable tmp&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;** '''set tmp = 77''' : Assigne la valeur 77 Ã  la variable tmp&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;** '''set *(char *)0xbffffbd4 = '@'''' : Modifie le premiÃ¨re caractÃ¨re de la chaÃ®ne Ã  l'adresse 0xbffffbd4&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;** '''set *(char *)0xbffffbd4 = '@'''' : Modifie le premiÃ¨re caractÃ¨re de la chaÃ®ne Ã  l'adresse 0xbffffbd4&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;== Afficher le code ==&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;[http://sourceware.org/gdb/onlinedocs/gdb/TUI.html gdb: Text User Interface (TUI)]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;* CTRL+x CTRL+a: afficher/cacher le code source&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Multi-threading ==&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Multi-threading ==&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Haypo</name></author>	</entry>

	<entry>
		<id>http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7621&amp;oldid=prev</id>
		<title>Haypo: /* Autres */</title>
		<link rel="alternate" type="text/html" href="http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7621&amp;oldid=prev"/>
				<updated>2011-12-22T21:04:10Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Autres&lt;/span&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Version du 22 décembre 2011 à 21:04&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 91&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 91&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;Pagination :&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;Pagination :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;* set pagination on : activer la pagination&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;* &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''&lt;/ins&gt;set pagination on&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;''' &lt;/ins&gt;: activer la pagination&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;* set pagination off : desactiver la pagination&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;* &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''&lt;/ins&gt;set pagination off&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;''' &lt;/ins&gt;: desactiver la pagination&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;GÃ©nÃ©rer un fichier core :&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;GÃ©nÃ©rer un fichier core :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;* generate-core-file&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;* &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''&lt;/ins&gt;generate-core-file&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''&lt;/ins&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Voir aussi ==&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Voir aussi ==&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Haypo</name></author>	</entry>

	<entry>
		<id>http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7620&amp;oldid=prev</id>
		<title>Haypo: /* Autres */</title>
		<link rel="alternate" type="text/html" href="http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7620&amp;oldid=prev"/>
				<updated>2011-12-22T21:03:54Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Autres&lt;/span&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Version du 22 décembre 2011 à 21:03&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 91&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 91&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;Pagination :&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;Pagination :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;* set pagination on : activer la pagination&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;* set pagination on : activer la pagination&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;* set pagination off : desactiver la pagination&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;* set pagination off : desactiver la pagination&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;GÃ©nÃ©rer un fichier core :&lt;/ins&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;* generate-core-file&lt;/ins&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Voir aussi ==&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Voir aussi ==&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Haypo</name></author>	</entry>

	<entry>
		<id>http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7555&amp;oldid=prev</id>
		<title>Haypo: /* Voir aussi */</title>
		<link rel="alternate" type="text/html" href="http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7555&amp;oldid=prev"/>
				<updated>2011-04-18T09:45:53Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Voir aussi&lt;/span&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Version du 18 avril 2011 à 09:45&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 87&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 87&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''stepi''' : Instruction suivante (sans entrer dans les fonctions)&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''stepi''' : Instruction suivante (sans entrer dans les fonctions)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''nexti''' : Instruction suivante en entrant dans les fonctions&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''nexti''' : Instruction suivante en entrant dans les fonctions&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;== Autres ==&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;Pagination :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; * set pagination on : activer la pagination&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; * set pagination off : desactiver la pagination&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Voir aussi ==&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Voir aussi ==&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Haypo</name></author>	</entry>

	<entry>
		<id>http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7435&amp;oldid=prev</id>
		<title>Haypo: /* Voir aussi */</title>
		<link rel="alternate" type="text/html" href="http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=7435&amp;oldid=prev"/>
				<updated>2010-04-27T10:54:03Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Voir aussi&lt;/span&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Version du 27 avril 2010 à 10:54&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 92&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 92&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;=== Liens externes ===&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;=== Liens externes ===&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;* [http://www.haypocalc.com/blog/index.php/2008/08/22/160-deboguer-programme-python-avec-gdb DÃ©boguer un programme Python avec gdb]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* [http://www.gnu.org/software/gdb/ Site officiel de GDB]&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* [http://www.gnu.org/software/gdb/ Site officiel de GDB]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* [http://sources.redhat.com/gdb/current/onlinedocs/gdb_toc.html Documentation de GDB en ligne]&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* [http://sources.redhat.com/gdb/current/onlinedocs/gdb_toc.html Documentation de GDB en ligne]&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Haypo</name></author>	</entry>

	<entry>
		<id>http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=6928&amp;oldid=prev</id>
		<title>Haypo: /* Signaux */</title>
		<link rel="alternate" type="text/html" href="http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=6928&amp;oldid=prev"/>
				<updated>2008-09-29T10:51:17Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Signaux&lt;/span&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Version du 29 septembre 2008 à 10:51&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 26&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 26&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''info signals''' : Affiche la liste des signaux et leur Ã©tat (attrapÃ© ou non)&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''info signals''' : Affiche la liste des signaux et leur Ã©tat (attrapÃ© ou non)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''handle SIG33 ignore''' : Ignore l'Ã©mission du signal SIG33, voir l'aide pour les dÃ©tails (help handle)&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''handle SIG33 ignore''' : Ignore l'Ã©mission du signal SIG33, voir l'aide pour les dÃ©tails (help handle)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;* '''handle SIGPIPE nostop''' : Ne stoppe pas gdb lors du signal SIGPIPE, mais l'affiche&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== ExÃ©cution pas Ã  pas ==&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== ExÃ©cution pas Ã  pas ==&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Haypo</name></author>	</entry>

	<entry>
		<id>http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=6785&amp;oldid=prev</id>
		<title>Haypo: /* Multi-threading */</title>
		<link rel="alternate" type="text/html" href="http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=6785&amp;oldid=prev"/>
				<updated>2008-04-11T15:53:32Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Multi-threading&lt;/span&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Version du 11 avril 2008 à 15:53&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 63&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Ligne 63&amp;nbsp;:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''info threads''' : Affiche la liste des threads&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''info threads''' : Affiche la liste des threads&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''thread &amp;lt;id&amp;gt;''' : Passe au thread du numÃ©ro spÃ©cifiÃ©&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;* '''thread &amp;lt;id&amp;gt;''' : Passe au thread du numÃ©ro spÃ©cifiÃ©&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;* '''thread apply all &amp;lt;commande&amp;gt;''' : ExÃ©cute une commande pour chaque thread, exemple pratique : Â« thread apply all backtrace Â» affiche la backtrace de tous les threads&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== fork() ==&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== fork() ==&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Haypo</name></author>	</entry>

	<entry>
		<id>http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=6136&amp;oldid=prev</id>
		<title>Haypo: /* Liens externes */</title>
		<link rel="alternate" type="text/html" href="http://haypo.alwaysdata.net:443/wiki/index.php?title=Gdb&amp;diff=6136&amp;oldid=prev"/>
				<updated>2007-04-10T12:41:25Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Liens externes&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[CatÃ©gorie:Logiciel libre]]&lt;br /&gt;
[[CatÃ©gorie:Programmation]]&lt;br /&gt;
[[CatÃ©gorie:SÃ©curitÃ©]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Crash vaisseau calvin.png|thumbnail|400px|Crash du vaisseau spacial de Calvin]]&lt;br /&gt;
&lt;br /&gt;
[[Programmation|Retour Ã  la partie programmation]]&lt;br /&gt;
&lt;br /&gt;
'''gdb''' est un excellent dÃ©bogueur issu du [[Logiciel libre|projet GNU]]. Il peut avoir de nombreux usages allant de la recherche de bug Ã  la [[rÃ©tro-ingÃ©nierie]].&lt;br /&gt;
&lt;br /&gt;
Je vais prÃ©senter ici les commandes les plus intÃ©ressantes.&lt;br /&gt;
&lt;br /&gt;
== Point d'arrÃªt ==&lt;br /&gt;
&lt;br /&gt;
* Commande Â« '''break''' Â» (abrÃ©gÃ© Â« '''b''' Â») :&lt;br /&gt;
** '''b''' : Poser un point d'arrÃªt sur la ligne courante&lt;br /&gt;
** '''b &amp;lt;fichier&amp;gt;:&amp;lt;ligne&amp;gt;''' : Poser un point d'arrÃªt Ã  dans un fichier donnÃ© Ã  une ligne prÃ©cise&lt;br /&gt;
** '''b &amp;lt;fonction&amp;gt;''' : Poser un point d'arrÃªt sur une fonction&lt;br /&gt;
** '''b *&amp;lt;adresse&amp;gt;''' : Poser un point d'arrÃªt Ã  une adresse mÃ©moire donnÃ©e&lt;br /&gt;
* '''condition &amp;lt;n&amp;gt; &amp;lt;condition&amp;gt;''' : Le point d'arrÃªt numÃ©ro n est levÃ© uniquement si la condition spÃ©cifiÃ©e est vÃ©rifiÃ©e. Exemple : condition 5 curprop-&amp;gt;tag=283. Sympa nan ?&lt;br /&gt;
* '''info breakpoints''' : Affiche les points d'arrÃªt&lt;br /&gt;
&lt;br /&gt;
== Signaux ==&lt;br /&gt;
&lt;br /&gt;
Les signaux peuvent Ãªtre interceptÃ©s ou non. Commmandes :&lt;br /&gt;
* '''info signals''' : Affiche la liste des signaux et leur Ã©tat (attrapÃ© ou non)&lt;br /&gt;
* '''handle SIG33 ignore''' : Ignore l'Ã©mission du signal SIG33, voir l'aide pour les dÃ©tails (help handle)&lt;br /&gt;
&lt;br /&gt;
== ExÃ©cution pas Ã  pas ==&lt;br /&gt;
&lt;br /&gt;
* '''s''' ou '''step''' : Instruction suivante en entrant dans les fonctions.&lt;br /&gt;
* '''n''' ou '''next''' : Instruction suivante, sans entrer dans les fonctions.&lt;br /&gt;
* '''u &amp;lt;ligne&amp;gt;''' ou '''until &amp;lt;ligne&amp;gt;''' : Continuer l'exÃ©cution jusqu'Ã  ce qu'on atteigne la ligne donnÃ©e (ou supÃ©rieur). Utile pour sortir d'une boucle par exemple&lt;br /&gt;
* '''c''' ou '''continue''' : Continuer l'exÃ©cution&lt;br /&gt;
&lt;br /&gt;
== Afficher une valeur ==&lt;br /&gt;
&lt;br /&gt;
* Voyons la commande Â« '''print''' Â» :&lt;br /&gt;
** '''print tmp''' : Affiche le contenu de la variable tmp&lt;br /&gt;
** '''print *0xbffffbd4''' : Affiche la valeur Ã  l'adresse 0xbffffbd4&lt;br /&gt;
** '''print *(char *)0xbffffbd4''' : Affiche le caractÃ¨re Ã  l'adresse 0xbffffbd4&lt;br /&gt;
** '''print 1+1''' : Affiche le rÃ©sultat du calcul 1+1 :-)&lt;br /&gt;
** '''print /x 10''' : Affiche le nombre 10 en hexadÃ©cimal (0xa)&lt;br /&gt;
** '''print argv[1]''' : Affiche la 2e valeur du tableau argv&lt;br /&gt;
** '''print (*(char **) 0xbffffbc4)@2''' : Affiche les 2 premiers Ã©lÃ©ments du tableau de chaÃ®nes de caractÃ¨res commenÃ§ant Ã  l'adresse 0xbffffbc4&lt;br /&gt;
** '''print $eax''' : Affiche le contenu du registre $eax&lt;br /&gt;
* Les commandes Â« '''info''' Â» :&lt;br /&gt;
** '''info registers''' : Affiche tous les registres (entiers)&lt;br /&gt;
** '''info float''' : Affiche les registres flottants&lt;br /&gt;
** '''info all-registers''' : Affiche vraiment tous les registres du processeur&lt;br /&gt;
&lt;br /&gt;
== Modifier une valeur ==&lt;br /&gt;
&lt;br /&gt;
* Commande Â« '''set''' Â» :&lt;br /&gt;
** '''set $eax = 4''' : Assigne la valeur 4 au registre EAX&lt;br /&gt;
** '''set $eflags = $eflags | 64''' : Pose le flag ZF (Zero Flags), il doit y avoir moyen de faire Ã§a plus facilement&lt;br /&gt;
** '''set tmp = 77''' : Assigne la valeur 77 Ã  la variable tmp&lt;br /&gt;
** '''set *(char *)0xbffffbd4 = '@'''' : Modifie le premiÃ¨re caractÃ¨re de la chaÃ®ne Ã  l'adresse 0xbffffbd4&lt;br /&gt;
&lt;br /&gt;
== Multi-threading ==&lt;br /&gt;
&lt;br /&gt;
Pour les programmes utilisant des threads, il est utile de connaÃ®tre les commandes permettant de passer de l'un Ã  l'autre :&lt;br /&gt;
* '''info threads''' : Affiche la liste des threads&lt;br /&gt;
* '''thread &amp;lt;id&amp;gt;''' : Passe au thread du numÃ©ro spÃ©cifiÃ©&lt;br /&gt;
&lt;br /&gt;
== fork() ==&lt;br /&gt;
&lt;br /&gt;
* '''set follow-fork-mode mode''' oÃ¹ mode est l'une de ces valeurs : parent (par dÃ©faut), child, ask&lt;br /&gt;
* '''show follow-fork-mode'''&lt;br /&gt;
&lt;br /&gt;
== Informations aprÃ¨s un plantage ==&lt;br /&gt;
&lt;br /&gt;
AprÃ¨s un plantage (erreur de page, SIGSEGV, par exemple), gdb permet d'indiquer l'origine du plantage (Ã  quoi il servirait sinon ? :-)). Utilisez pour cela la commande Â« '''where''' Â» (Ã©quivalente Ã  Â« '''backtrace''' Â»). Notez qu'il est possible d'appeler where Ã  n'importe quel moment, pas forcÃ©ment aprÃ¨s un plantage.&lt;br /&gt;
&lt;br /&gt;
Exemple de where :&lt;br /&gt;
 (gdb) where&lt;br /&gt;
    #0  ecore_app_args_set (argc=1, argv=0xbffffbd4) at ecore_app.c:18&lt;br /&gt;
    #1  0x08051201 in main (argc=1, argv=0xbffffbd4) at main.c:216&lt;br /&gt;
Ce rÃ©sultat se lit de bas en haut. La premiÃ¨re fonction appelÃ©e est main() dans le fichier main.c (ligne 216), et on est actuellement dans ecore_app_args_set du fichier ecore_app.c (ligne 18).&lt;br /&gt;
&lt;br /&gt;
== Utiliser gdb en assembleur ==&lt;br /&gt;
&lt;br /&gt;
* '''disassemble''' : DÃ©sassemble le code dans la ''frame'' courante&lt;br /&gt;
* '''disassemble &amp;lt;dÃ©but&amp;gt; &amp;lt;fin&amp;gt;''' : DÃ©sassemble le code qui dÃ©bute Ã  l'adresse indiquÃ©e et s'arrÃªte exactement ou avant la fin indiquÃ©e&lt;br /&gt;
* '''stepi''' : Instruction suivante (sans entrer dans les fonctions)&lt;br /&gt;
* '''nexti''' : Instruction suivante en entrant dans les fonctions&lt;br /&gt;
&lt;br /&gt;
== Voir aussi ==&lt;br /&gt;
&lt;br /&gt;
=== Liens externes ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.gnu.org/software/gdb/ Site officiel de GDB]&lt;br /&gt;
* [http://sources.redhat.com/gdb/current/onlinedocs/gdb_toc.html Documentation de GDB en ligne]&lt;br /&gt;
* [http://svn.python.org/projects/python/trunk/Misc/gdbinit Macros gdb pour Python] (voir aussi [http://www.mashebali.com/?Python_GDB_macros Python GDB macros]&lt;br /&gt;
* [http://subterfugue.org/ SUBTERFUGUE] : tracing &amp;amp;amp; sandboxing&lt;br /&gt;
&lt;br /&gt;
=== Articles connexes ===&lt;br /&gt;
&lt;br /&gt;
* [[Gcc]] â€” [[RÃ©tro-ingÃ©nierie]]&lt;/div&gt;</summary>
		<author><name>Haypo</name></author>	</entry>

	</feed>