Guile-API.html 9.9 KB

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