1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html> 3<!-- Copyright (C) 1988-2021 Free Software Foundation, Inc. 4 5Permission is granted to copy, distribute and/or modify this document 6under the terms of the GNU Free Documentation License, Version 1.3 or 7any later version published by the Free Software Foundation; with the 8Invariant Sections being "Free Software" and "Free Software Needs 9Free Documentation", with the Front-Cover Texts being "A GNU Manual," 10and with the Back-Cover Texts as in (a) below. 11 12(a) The FSF's Back-Cover Text is: "You are free to copy and modify 13this GNU Manual. Buying copies from GNU Press supports the FSF in 14developing GNU and promoting software freedom." --> 15<!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ --> 16<head> 17<title>Debugging with GDB: Guile API</title> 18 19<meta name="description" content="Debugging with GDB: Guile API"> 20<meta name="keywords" content="Debugging with GDB: Guile API"> 21<meta name="resource-type" content="document"> 22<meta name="distribution" content="global"> 23<meta name="Generator" content="makeinfo"> 24<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 25<link href="index.html#Top" rel="start" title="Top"> 26<link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index"> 27<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> 28<link href="Guile.html#Guile" rel="up" title="Guile"> 29<link href="Basic-Guile.html#Basic-Guile" rel="next" title="Basic Guile"> 30<link href="Guile-Commands.html#Guile-Commands" rel="previous" title="Guile Commands"> 31<style type="text/css"> 32<!-- 33a.summary-letter {text-decoration: none} 34blockquote.smallquotation {font-size: smaller} 35div.display {margin-left: 3.2em} 36div.example {margin-left: 3.2em} 37div.indentedblock {margin-left: 3.2em} 38div.lisp {margin-left: 3.2em} 39div.smalldisplay {margin-left: 3.2em} 40div.smallexample {margin-left: 3.2em} 41div.smallindentedblock {margin-left: 3.2em; font-size: smaller} 42div.smalllisp {margin-left: 3.2em} 43kbd {font-style:oblique} 44pre.display {font-family: inherit} 45pre.format {font-family: inherit} 46pre.menu-comment {font-family: serif} 47pre.menu-preformatted {font-family: serif} 48pre.smalldisplay {font-family: inherit; font-size: smaller} 49pre.smallexample {font-size: smaller} 50pre.smallformat {font-family: inherit; font-size: smaller} 51pre.smalllisp {font-size: smaller} 52span.nocodebreak {white-space:nowrap} 53span.nolinebreak {white-space:nowrap} 54span.roman {font-family:serif; font-weight:normal} 55span.sansserif {font-family:sans-serif; font-weight:normal} 56ul.no-bullet {list-style: none} 57--> 58</style> 59 60 61</head> 62 63<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> 64<a name="Guile-API"></a> 65<div class="header"> 66<p> 67Next: <a href="Guile-Auto_002dloading.html#Guile-Auto_002dloading" accesskey="n" rel="next">Guile Auto-loading</a>, Previous: <a href="Guile-Commands.html#Guile-Commands" accesskey="p" rel="previous">Guile Commands</a>, Up: <a href="Guile.html#Guile" accesskey="u" rel="up">Guile</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p> 68</div> 69<hr> 70<a name="Guile-API-1"></a> 71<h4 class="subsection">23.3.3 Guile API</h4> 72<a name="index-guile-api"></a> 73<a name="index-programming-in-guile"></a> 74 75<p>You can get quick online help for <small>GDB</small>’s Guile API by issuing 76the command <kbd>help guile</kbd><!-- /@w -->, or by issuing the command <kbd>,help</kbd> 77from an interactive Guile session. Furthermore, most Guile procedures 78provided by <small>GDB</small> have doc strings which can be obtained with 79<kbd>,describe <var>procedure-name</var></kbd> or <kbd>,d <var>procedure-name</var></kbd> 80from the Guile interactive prompt. 81</p> 82<table class="menu" border="0" cellspacing="0"> 83<tr><td align="left" valign="top">• <a href="Basic-Guile.html#Basic-Guile" accesskey="1">Basic Guile</a>:</td><td> </td><td align="left" valign="top">Basic Guile Functions 84</td></tr> 85<tr><td align="left" valign="top">• <a href="Guile-Configuration.html#Guile-Configuration" accesskey="2">Guile Configuration</a>:</td><td> </td><td align="left" valign="top">Guile configuration variables 86</td></tr> 87<tr><td align="left" valign="top">• <a href="GDB-Scheme-Data-Types.html#GDB-Scheme-Data-Types" accesskey="3">GDB Scheme Data Types</a>:</td><td> </td><td align="left" valign="top">Scheme representations of GDB objects 88</td></tr> 89<tr><td align="left" valign="top">• <a href="Guile-Exception-Handling.html#Guile-Exception-Handling" accesskey="4">Guile Exception Handling</a>:</td><td> </td><td align="left" valign="top">How Guile exceptions are translated 90</td></tr> 91<tr><td align="left" valign="top">• <a href="Values-From-Inferior-In-Guile.html#Values-From-Inferior-In-Guile" accesskey="5">Values From Inferior In Guile</a>:</td><td> </td><td align="left" valign="top">Guile representation of values 92</td></tr> 93<tr><td align="left" valign="top">• <a href="Arithmetic-In-Guile.html#Arithmetic-In-Guile" accesskey="6">Arithmetic In Guile</a>:</td><td> </td><td align="left" valign="top">Arithmetic in Guile 94</td></tr> 95<tr><td align="left" valign="top">• <a href="Types-In-Guile.html#Types-In-Guile" accesskey="7">Types In Guile</a>:</td><td> </td><td align="left" valign="top">Guile representation of types 96</td></tr> 97<tr><td align="left" valign="top">• <a href="Guile-Pretty-Printing-API.html#Guile-Pretty-Printing-API" accesskey="8">Guile Pretty Printing API</a>:</td><td> </td><td align="left" valign="top">Pretty-printing values with Guile 98</td></tr> 99<tr><td align="left" valign="top">• <a href="Selecting-Guile-Pretty_002dPrinters.html#Selecting-Guile-Pretty_002dPrinters" accesskey="9">Selecting Guile Pretty-Printers</a>:</td><td> </td><td align="left" valign="top">How GDB chooses a pretty-printer 100</td></tr> 101<tr><td align="left" valign="top">• <a href="Writing-a-Guile-Pretty_002dPrinter.html#Writing-a-Guile-Pretty_002dPrinter">Writing a Guile Pretty-Printer</a>:</td><td> </td><td align="left" valign="top">Writing a pretty-printer 102</td></tr> 103<tr><td align="left" valign="top">• <a href="Commands-In-Guile.html#Commands-In-Guile">Commands In Guile</a>:</td><td> </td><td align="left" valign="top">Implementing new commands in Guile 104</td></tr> 105<tr><td align="left" valign="top">• <a href="Parameters-In-Guile.html#Parameters-In-Guile">Parameters In Guile</a>:</td><td> </td><td align="left" valign="top">Adding new <small>GDB</small> parameters 106</td></tr> 107<tr><td align="left" valign="top">• <a href="Progspaces-In-Guile.html#Progspaces-In-Guile">Progspaces In Guile</a>:</td><td> </td><td align="left" valign="top">Program spaces 108</td></tr> 109<tr><td align="left" valign="top">• <a href="Objfiles-In-Guile.html#Objfiles-In-Guile">Objfiles In Guile</a>:</td><td> </td><td align="left" valign="top">Object files in Guile 110</td></tr> 111<tr><td align="left" valign="top">• <a href="Frames-In-Guile.html#Frames-In-Guile">Frames In Guile</a>:</td><td> </td><td align="left" valign="top">Accessing inferior stack frames from Guile 112</td></tr> 113<tr><td align="left" valign="top">• <a href="Blocks-In-Guile.html#Blocks-In-Guile">Blocks In Guile</a>:</td><td> </td><td align="left" valign="top">Accessing blocks from Guile 114</td></tr> 115<tr><td align="left" valign="top">• <a href="Symbols-In-Guile.html#Symbols-In-Guile">Symbols In Guile</a>:</td><td> </td><td align="left" valign="top">Guile representation of symbols 116</td></tr> 117<tr><td align="left" valign="top">• <a href="Symbol-Tables-In-Guile.html#Symbol-Tables-In-Guile">Symbol Tables In Guile</a>:</td><td> </td><td align="left" valign="top">Guile representation of symbol tables 118</td></tr> 119<tr><td align="left" valign="top">• <a href="Breakpoints-In-Guile.html#Breakpoints-In-Guile">Breakpoints In Guile</a>:</td><td> </td><td align="left" valign="top">Manipulating breakpoints using Guile 120</td></tr> 121<tr><td align="left" valign="top">• <a href="Lazy-Strings-In-Guile.html#Lazy-Strings-In-Guile">Lazy Strings In Guile</a>:</td><td> </td><td align="left" valign="top">Guile representation of lazy strings 122</td></tr> 123<tr><td align="left" valign="top">• <a href="Architectures-In-Guile.html#Architectures-In-Guile">Architectures In Guile</a>:</td><td> </td><td align="left" valign="top">Guile representation of architectures 124</td></tr> 125<tr><td align="left" valign="top">• <a href="Disassembly-In-Guile.html#Disassembly-In-Guile">Disassembly In Guile</a>:</td><td> </td><td align="left" valign="top">Disassembling instructions from Guile 126</td></tr> 127<tr><td align="left" valign="top">• <a href="I_002fO-Ports-in-Guile.html#I_002fO-Ports-in-Guile">I/O Ports in Guile</a>:</td><td> </td><td align="left" valign="top">GDB I/O ports 128</td></tr> 129<tr><td align="left" valign="top">• <a href="Memory-Ports-in-Guile.html#Memory-Ports-in-Guile">Memory Ports in Guile</a>:</td><td> </td><td align="left" valign="top">Accessing memory through ports and bytevectors 130</td></tr> 131<tr><td align="left" valign="top">• <a href="Iterators-In-Guile.html#Iterators-In-Guile">Iterators In Guile</a>:</td><td> </td><td align="left" valign="top">Basic iterator support 132</td></tr> 133</table> 134 135<hr> 136<div class="header"> 137<p> 138Next: <a href="Guile-Auto_002dloading.html#Guile-Auto_002dloading" accesskey="n" rel="next">Guile Auto-loading</a>, Previous: <a href="Guile-Commands.html#Guile-Commands" accesskey="p" rel="previous">Guile Commands</a>, Up: <a href="Guile.html#Guile" accesskey="u" rel="up">Guile</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p> 139</div> 140 141 142 143</body> 144</html> 145