Remote-Configuration.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  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: Remote Configuration</title>
  16. <meta name="description" content="Debugging with GDB: Remote Configuration">
  17. <meta name="keywords" content="Debugging with GDB: Remote Configuration">
  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="Remote-Debugging.html#Remote-Debugging" rel="up" title="Remote Debugging">
  26. <link href="Remote-Stub.html#Remote-Stub" rel="next" title="Remote Stub">
  27. <link href="Server.html#Server" rel="previous" title="Server">
  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="Remote-Configuration"></a>
  59. <div class="header">
  60. <p>
  61. Next: <a href="Remote-Stub.html#Remote-Stub" accesskey="n" rel="next">Remote Stub</a>, Previous: <a href="Server.html#Server" accesskey="p" rel="previous">Server</a>, Up: <a href="Remote-Debugging.html#Remote-Debugging" accesskey="u" rel="up">Remote Debugging</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="Remote-Configuration-1"></a>
  65. <h3 class="section">20.4 Remote Configuration</h3>
  66. <a name="index-set-remote"></a>
  67. <a name="index-show-remote"></a>
  68. <p>This section documents the configuration options available when
  69. debugging remote programs. For the options related to the File I/O
  70. extensions of the remote protocol, see <a href="system.html#system">system-call-allowed</a>.
  71. </p>
  72. <dl compact="compact">
  73. <dt><code>set remoteaddresssize <var>bits</var></code></dt>
  74. <dd><a name="index-address-size-for-remote-targets"></a>
  75. <a name="index-bits-in-remote-address"></a>
  76. <p>Set the maximum size of address in a memory packet to the specified
  77. number of bits. <small>GDB</small> will mask off the address bits above
  78. that number, when it passes addresses to the remote target. The
  79. default value is the number of bits in the target&rsquo;s address.
  80. </p>
  81. </dd>
  82. <dt><code>show remoteaddresssize</code></dt>
  83. <dd><p>Show the current value of remote address size in bits.
  84. </p>
  85. </dd>
  86. <dt><code>set serial baud <var>n</var></code></dt>
  87. <dd><a name="index-baud-rate-for-remote-targets"></a>
  88. <p>Set the baud rate for the remote serial I/O to <var>n</var> baud. The
  89. value is used to set the speed of the serial port used for debugging
  90. remote targets.
  91. </p>
  92. </dd>
  93. <dt><code>show serial baud</code></dt>
  94. <dd><p>Show the current speed of the remote connection.
  95. </p>
  96. </dd>
  97. <dt><code>set serial parity <var>parity</var></code></dt>
  98. <dd><p>Set the parity for the remote serial I/O. Supported values of <var>parity</var> are:
  99. <code>even</code>, <code>none</code>, and <code>odd</code>. The default is <code>none</code>.
  100. </p>
  101. </dd>
  102. <dt><code>show serial parity</code></dt>
  103. <dd><p>Show the current parity of the serial port.
  104. </p>
  105. </dd>
  106. <dt><code>set remotebreak</code></dt>
  107. <dd><a name="index-interrupt-remote-programs"></a>
  108. <a name="index-BREAK-signal-instead-of-Ctrl_002dC"></a>
  109. <a name="set-remotebreak"></a><p>If set to on, <small>GDB</small> sends a <code>BREAK</code> signal to the remote
  110. when you type <kbd>Ctrl-c</kbd> to interrupt the program running
  111. on the remote. If set to off, <small>GDB</small> sends the &lsquo;<samp>Ctrl-C</samp>&rsquo;
  112. character instead. The default is off, since most remote systems
  113. expect to see &lsquo;<samp>Ctrl-C</samp>&rsquo; as the interrupt signal.
  114. </p>
  115. </dd>
  116. <dt><code>show remotebreak</code></dt>
  117. <dd><p>Show whether <small>GDB</small> sends <code>BREAK</code> or &lsquo;<samp>Ctrl-C</samp>&rsquo; to
  118. interrupt the remote program.
  119. </p>
  120. </dd>
  121. <dt><code>set remoteflow on</code></dt>
  122. <dt><code>set remoteflow off</code></dt>
  123. <dd><a name="index-set-remoteflow"></a>
  124. <p>Enable or disable hardware flow control (<code>RTS</code>/<code>CTS</code>)
  125. on the serial port used to communicate to the remote target.
  126. </p>
  127. </dd>
  128. <dt><code>show remoteflow</code></dt>
  129. <dd><a name="index-show-remoteflow"></a>
  130. <p>Show the current setting of hardware flow control.
  131. </p>
  132. </dd>
  133. <dt><code>set remotelogbase <var>base</var></code></dt>
  134. <dd><p>Set the base (a.k.a. radix) of logging serial protocol
  135. communications to <var>base</var>. Supported values of <var>base</var> are:
  136. <code>ascii</code>, <code>octal</code>, and <code>hex</code>. The default is
  137. <code>ascii</code>.
  138. </p>
  139. </dd>
  140. <dt><code>show remotelogbase</code></dt>
  141. <dd><p>Show the current setting of the radix for logging remote serial
  142. protocol.
  143. </p>
  144. </dd>
  145. <dt><code>set remotelogfile <var>file</var></code></dt>
  146. <dd><a name="index-record-serial-communications-on-file"></a>
  147. <p>Record remote serial communications on the named <var>file</var>. The
  148. default is not to record at all.
  149. </p>
  150. </dd>
  151. <dt><code>show remotelogfile</code></dt>
  152. <dd><p>Show the current setting of the file name on which to record the
  153. serial communications.
  154. </p>
  155. </dd>
  156. <dt><code>set remotetimeout <var>num</var></code></dt>
  157. <dd><a name="index-timeout-for-serial-communications"></a>
  158. <a name="index-remote-timeout"></a>
  159. <p>Set the timeout limit to wait for the remote target to respond to
  160. <var>num</var> seconds. The default is 2 seconds.
  161. </p>
  162. </dd>
  163. <dt><code>show remotetimeout</code></dt>
  164. <dd><p>Show the current number of seconds to wait for the remote target
  165. responses.
  166. </p>
  167. <a name="index-limit-hardware-breakpoints-and-watchpoints"></a>
  168. <a name="index-remote-target_002c-limit-break_002d-and-watchpoints"></a>
  169. <a name="set-remote-hardware_002dwatchpoint_002dlimit"></a><a name="set-remote-hardware_002dbreakpoint_002dlimit"></a></dd>
  170. <dt><code>set remote hardware-watchpoint-limit <var>limit</var></code></dt>
  171. <dt><code>set remote hardware-breakpoint-limit <var>limit</var></code></dt>
  172. <dd><p>Restrict <small>GDB</small> to using <var>limit</var> remote hardware watchpoints
  173. or breakpoints. The <var>limit</var> can be set to 0 to disable hardware
  174. watchpoints or breakpoints, and <code>unlimited</code> for unlimited
  175. watchpoints or breakpoints.
  176. </p>
  177. </dd>
  178. <dt><code>show remote hardware-watchpoint-limit</code></dt>
  179. <dt><code>show remote hardware-breakpoint-limit</code></dt>
  180. <dd><p>Show the current limit for the number of hardware watchpoints or
  181. breakpoints that <small>GDB</small> can use.
  182. </p>
  183. <a name="index-limit-hardware-watchpoints-length"></a>
  184. <a name="index-remote-target_002c-limit-watchpoints-length"></a>
  185. <a name="set-remote-hardware_002dwatchpoint_002dlength_002dlimit"></a></dd>
  186. <dt><code>set remote hardware-watchpoint-length-limit <var>limit</var></code></dt>
  187. <dd><p>Restrict <small>GDB</small> to using <var>limit</var> bytes for the maximum
  188. length of a remote hardware watchpoint. A <var>limit</var> of 0 disables
  189. hardware watchpoints and <code>unlimited</code> allows watchpoints of any
  190. length.
  191. </p>
  192. </dd>
  193. <dt><code>show remote hardware-watchpoint-length-limit</code></dt>
  194. <dd><p>Show the current limit (in bytes) of the maximum length of
  195. a remote hardware watchpoint.
  196. </p>
  197. </dd>
  198. <dt><code>set remote exec-file <var>filename</var></code></dt>
  199. <dt><code>show remote exec-file</code></dt>
  200. <dd><a name="set-remote-exec_002dfile"></a><a name="index-executable-file_002c-for-remote-target"></a>
  201. <p>Select the file used for <code>run</code> with <code>target
  202. extended-remote</code>. This should be set to a filename valid on the
  203. target system. If it is not set, the target will use a default
  204. filename (e.g. the last program run).
  205. </p>
  206. </dd>
  207. <dt><code>set remote interrupt-sequence</code></dt>
  208. <dd><a name="index-interrupt-remote-programs-1"></a>
  209. <a name="index-select-Ctrl_002dC_002c-BREAK-or-BREAK_002dg"></a>
  210. <p>Allow the user to select one of &lsquo;<samp>Ctrl-C</samp>&rsquo;, a <code>BREAK</code> or
  211. &lsquo;<samp>BREAK-g</samp>&rsquo; as the
  212. sequence to the remote target in order to interrupt the execution.
  213. &lsquo;<samp>Ctrl-C</samp>&rsquo; is a default. Some system prefers <code>BREAK</code> which
  214. is high level of serial line for some certain time.
  215. Linux kernel prefers &lsquo;<samp>BREAK-g</samp>&rsquo;, a.k.a Magic SysRq g.
  216. It is <code>BREAK</code> signal followed by character <code>g</code>.
  217. </p>
  218. </dd>
  219. <dt><code>show interrupt-sequence</code></dt>
  220. <dd><p>Show which of &lsquo;<samp>Ctrl-C</samp>&rsquo;, <code>BREAK</code> or <code>BREAK-g</code>
  221. is sent by <small>GDB</small> to interrupt the remote program.
  222. <code>BREAK-g</code> is BREAK signal followed by <code>g</code> and
  223. also known as Magic SysRq g.
  224. </p>
  225. </dd>
  226. <dt><code>set remote interrupt-on-connect</code></dt>
  227. <dd><a name="index-send-interrupt_002dsequence-on-start"></a>
  228. <p>Specify whether interrupt-sequence is sent to remote target when
  229. <small>GDB</small> connects to it. This is mostly needed when you debug
  230. Linux kernel. Linux kernel expects <code>BREAK</code> followed by <code>g</code>
  231. which is known as Magic SysRq g in order to connect <small>GDB</small>.
  232. </p>
  233. </dd>
  234. <dt><code>show interrupt-on-connect</code></dt>
  235. <dd><p>Show whether interrupt-sequence is sent
  236. to remote target when <small>GDB</small> connects to it.
  237. </p>
  238. <a name="index-set-tcp"></a>
  239. <a name="index-show-tcp"></a>
  240. </dd>
  241. <dt><code>set tcp auto-retry on</code></dt>
  242. <dd><a name="index-auto_002dretry_002c-for-remote-TCP-target"></a>
  243. <p>Enable auto-retry for remote TCP connections. This is useful if the remote
  244. debugging agent is launched in parallel with <small>GDB</small>; there is a race
  245. condition because the agent may not become ready to accept the connection
  246. before <small>GDB</small> attempts to connect. When auto-retry is
  247. enabled, if the initial attempt to connect fails, <small>GDB</small> reattempts
  248. to establish the connection using the timeout specified by
  249. <code>set tcp connect-timeout</code>.
  250. </p>
  251. </dd>
  252. <dt><code>set tcp auto-retry off</code></dt>
  253. <dd><p>Do not auto-retry failed TCP connections.
  254. </p>
  255. </dd>
  256. <dt><code>show tcp auto-retry</code></dt>
  257. <dd><p>Show the current auto-retry setting.
  258. </p>
  259. </dd>
  260. <dt><code>set tcp connect-timeout <var>seconds</var></code></dt>
  261. <dt><code>set tcp connect-timeout unlimited</code></dt>
  262. <dd><a name="index-connection-timeout_002c-for-remote-TCP-target"></a>
  263. <a name="index-timeout_002c-for-remote-target-connection"></a>
  264. <p>Set the timeout for establishing a TCP connection to the remote target to
  265. <var>seconds</var>. The timeout affects both polling to retry failed connections
  266. (enabled by <code>set tcp auto-retry on</code>) and waiting for connections
  267. that are merely slow to complete, and represents an approximate cumulative
  268. value. If <var>seconds</var> is <code>unlimited</code>, there is no timeout and
  269. <small>GDB</small> will keep attempting to establish a connection forever,
  270. unless interrupted with <kbd>Ctrl-c</kbd>. The default is 15 seconds.
  271. </p>
  272. </dd>
  273. <dt><code>show tcp connect-timeout</code></dt>
  274. <dd><p>Show the current connection timeout setting.
  275. </p></dd>
  276. </dl>
  277. <a name="index-remote-packets_002c-enabling-and-disabling"></a>
  278. <p>The <small>GDB</small> remote protocol autodetects the packets supported by
  279. your debugging stub. If you need to override the autodetection, you
  280. can use these commands to enable or disable individual packets. Each
  281. packet can be set to &lsquo;<samp>on</samp>&rsquo; (the remote target supports this
  282. packet), &lsquo;<samp>off</samp>&rsquo; (the remote target does not support this packet),
  283. or &lsquo;<samp>auto</samp>&rsquo; (detect remote target support for this packet). They
  284. all default to &lsquo;<samp>auto</samp>&rsquo;. For more information about each packet,
  285. see <a href="Remote-Protocol.html#Remote-Protocol">Remote Protocol</a>.
  286. </p>
  287. <p>During normal use, you should not have to use any of these commands.
  288. If you do, that may be a bug in your remote debugging stub, or a bug
  289. in <small>GDB</small>. You may want to report the problem to the
  290. <small>GDB</small> developers.
  291. </p>
  292. <p>For each packet <var>name</var>, the command to enable or disable the
  293. packet is <code>set remote <var>name</var>-packet</code>. The available settings
  294. are:
  295. </p>
  296. <table>
  297. <tr><td width="28%">Command Name</td><td width="32%">Remote Packet</td><td width="25%">Related Features</td></tr>
  298. <tr><td width="28%"><code>fetch-register</code></td><td width="32%"><code>p</code></td><td width="25%"><code>info registers</code></td></tr>
  299. <tr><td width="28%"><code>set-register</code></td><td width="32%"><code>P</code></td><td width="25%"><code>set</code></td></tr>
  300. <tr><td width="28%"><code>binary-download</code></td><td width="32%"><code>X</code></td><td width="25%"><code>load</code>, <code>set</code></td></tr>
  301. <tr><td width="28%"><code>read-aux-vector</code></td><td width="32%"><code>qXfer:auxv:read</code></td><td width="25%"><code>info auxv</code></td></tr>
  302. <tr><td width="28%"><code>symbol-lookup</code></td><td width="32%"><code>qSymbol</code></td><td width="25%">Detecting multiple threads</td></tr>
  303. <tr><td width="28%"><code>attach</code></td><td width="32%"><code>vAttach</code></td><td width="25%"><code>attach</code></td></tr>
  304. <tr><td width="28%"><code>verbose-resume</code></td><td width="32%"><code>vCont</code></td><td width="25%">Stepping or resuming multiple threads</td></tr>
  305. <tr><td width="28%"><code>run</code></td><td width="32%"><code>vRun</code></td><td width="25%"><code>run</code></td></tr>
  306. <tr><td width="28%"><code>software-breakpoint</code></td><td width="32%"><code>Z0</code></td><td width="25%"><code>break</code></td></tr>
  307. <tr><td width="28%"><code>hardware-breakpoint</code></td><td width="32%"><code>Z1</code></td><td width="25%"><code>hbreak</code></td></tr>
  308. <tr><td width="28%"><code>write-watchpoint</code></td><td width="32%"><code>Z2</code></td><td width="25%"><code>watch</code></td></tr>
  309. <tr><td width="28%"><code>read-watchpoint</code></td><td width="32%"><code>Z3</code></td><td width="25%"><code>rwatch</code></td></tr>
  310. <tr><td width="28%"><code>access-watchpoint</code></td><td width="32%"><code>Z4</code></td><td width="25%"><code>awatch</code></td></tr>
  311. <tr><td width="28%"><code>pid-to-exec-file</code></td><td width="32%"><code>qXfer:exec-file:read</code></td><td width="25%"><code>attach</code>, <code>run</code></td></tr>
  312. <tr><td width="28%"><code>target-features</code></td><td width="32%"><code>qXfer:features:read</code></td><td width="25%"><code>set architecture</code></td></tr>
  313. <tr><td width="28%"><code>library-info</code></td><td width="32%"><code>qXfer:libraries:read</code></td><td width="25%"><code>info sharedlibrary</code></td></tr>
  314. <tr><td width="28%"><code>memory-map</code></td><td width="32%"><code>qXfer:memory-map:read</code></td><td width="25%"><code>info mem</code></td></tr>
  315. <tr><td width="28%"><code>read-sdata-object</code></td><td width="32%"><code>qXfer:sdata:read</code></td><td width="25%"><code>print $_sdata</code></td></tr>
  316. <tr><td width="28%"><code>read-siginfo-object</code></td><td width="32%"><code>qXfer:siginfo:read</code></td><td width="25%"><code>print $_siginfo</code></td></tr>
  317. <tr><td width="28%"><code>write-siginfo-object</code></td><td width="32%"><code>qXfer:siginfo:write</code></td><td width="25%"><code>set $_siginfo</code></td></tr>
  318. <tr><td width="28%"><code>threads</code></td><td width="32%"><code>qXfer:threads:read</code></td><td width="25%"><code>info threads</code></td></tr>
  319. <tr><td width="28%"><code>get-thread-local-<br>storage-address</code></td><td width="32%"><code>qGetTLSAddr</code></td><td width="25%">Displaying <code>__thread</code> variables</td></tr>
  320. <tr><td width="28%"><code>get-thread-information-block-address</code></td><td width="32%"><code>qGetTIBAddr</code></td><td width="25%">Display MS-Windows Thread Information Block.</td></tr>
  321. <tr><td width="28%"><code>search-memory</code></td><td width="32%"><code>qSearch:memory</code></td><td width="25%"><code>find</code></td></tr>
  322. <tr><td width="28%"><code>supported-packets</code></td><td width="32%"><code>qSupported</code></td><td width="25%">Remote communications parameters</td></tr>
  323. <tr><td width="28%"><code>catch-syscalls</code></td><td width="32%"><code>QCatchSyscalls</code></td><td width="25%"><code>catch syscall</code></td></tr>
  324. <tr><td width="28%"><code>pass-signals</code></td><td width="32%"><code>QPassSignals</code></td><td width="25%"><code>handle <var>signal</var></code></td></tr>
  325. <tr><td width="28%"><code>program-signals</code></td><td width="32%"><code>QProgramSignals</code></td><td width="25%"><code>handle <var>signal</var></code></td></tr>
  326. <tr><td width="28%"><code>hostio-close-packet</code></td><td width="32%"><code>vFile:close</code></td><td width="25%"><code>remote get</code>, <code>remote put</code></td></tr>
  327. <tr><td width="28%"><code>hostio-open-packet</code></td><td width="32%"><code>vFile:open</code></td><td width="25%"><code>remote get</code>, <code>remote put</code></td></tr>
  328. <tr><td width="28%"><code>hostio-pread-packet</code></td><td width="32%"><code>vFile:pread</code></td><td width="25%"><code>remote get</code>, <code>remote put</code></td></tr>
  329. <tr><td width="28%"><code>hostio-pwrite-packet</code></td><td width="32%"><code>vFile:pwrite</code></td><td width="25%"><code>remote get</code>, <code>remote put</code></td></tr>
  330. <tr><td width="28%"><code>hostio-unlink-packet</code></td><td width="32%"><code>vFile:unlink</code></td><td width="25%"><code>remote delete</code></td></tr>
  331. <tr><td width="28%"><code>hostio-readlink-packet</code></td><td width="32%"><code>vFile:readlink</code></td><td width="25%">Host I/O</td></tr>
  332. <tr><td width="28%"><code>hostio-fstat-packet</code></td><td width="32%"><code>vFile:fstat</code></td><td width="25%">Host I/O</td></tr>
  333. <tr><td width="28%"><code>hostio-setfs-packet</code></td><td width="32%"><code>vFile:setfs</code></td><td width="25%">Host I/O</td></tr>
  334. <tr><td width="28%"><code>noack-packet</code></td><td width="32%"><code>QStartNoAckMode</code></td><td width="25%">Packet acknowledgment</td></tr>
  335. <tr><td width="28%"><code>osdata</code></td><td width="32%"><code>qXfer:osdata:read</code></td><td width="25%"><code>info os</code></td></tr>
  336. <tr><td width="28%"><code>query-attached</code></td><td width="32%"><code>qAttached</code></td><td width="25%">Querying remote process attach state.</td></tr>
  337. <tr><td width="28%"><code>trace-buffer-size</code></td><td width="32%"><code>QTBuffer:size</code></td><td width="25%"><code>set trace-buffer-size</code></td></tr>
  338. <tr><td width="28%"><code>trace-status</code></td><td width="32%"><code>qTStatus</code></td><td width="25%"><code>tstatus</code></td></tr>
  339. <tr><td width="28%"><code>traceframe-info</code></td><td width="32%"><code>qXfer:traceframe-info:read</code></td><td width="25%">Traceframe info</td></tr>
  340. <tr><td width="28%"><code>install-in-trace</code></td><td width="32%"><code>InstallInTrace</code></td><td width="25%">Install tracepoint in tracing</td></tr>
  341. <tr><td width="28%"><code>disable-randomization</code></td><td width="32%"><code>QDisableRandomization</code></td><td width="25%"><code>set disable-randomization</code></td></tr>
  342. <tr><td width="28%"><code>startup-with-shell</code></td><td width="32%"><code>QStartupWithShell</code></td><td width="25%"><code>set startup-with-shell</code></td></tr>
  343. <tr><td width="28%"><code>environment-hex-encoded</code></td><td width="32%"><code>QEnvironmentHexEncoded</code></td><td width="25%"><code>set environment</code></td></tr>
  344. <tr><td width="28%"><code>environment-unset</code></td><td width="32%"><code>QEnvironmentUnset</code></td><td width="25%"><code>unset environment</code></td></tr>
  345. <tr><td width="28%"><code>environment-reset</code></td><td width="32%"><code>QEnvironmentReset</code></td><td width="25%"><code>Reset the inferior environment (i.e., unset user-set variables)</code></td></tr>
  346. <tr><td width="28%"><code>set-working-dir</code></td><td width="32%"><code>QSetWorkingDir</code></td><td width="25%"><code>set cwd</code></td></tr>
  347. <tr><td width="28%"><code>conditional-breakpoints-packet</code></td><td width="32%"><code>Z0 and Z1</code></td><td width="25%"><code>Support for target-side breakpoint condition evaluation</code></td></tr>
  348. <tr><td width="28%"><code>multiprocess-extensions</code></td><td width="32%"><code>multiprocess extensions</code></td><td width="25%">Debug multiple processes and remote process PID awareness</td></tr>
  349. <tr><td width="28%"><code>swbreak-feature</code></td><td width="32%"><code>swbreak stop reason</code></td><td width="25%"><code>break</code></td></tr>
  350. <tr><td width="28%"><code>hwbreak-feature</code></td><td width="32%"><code>hwbreak stop reason</code></td><td width="25%"><code>hbreak</code></td></tr>
  351. <tr><td width="28%"><code>fork-event-feature</code></td><td width="32%"><code>fork stop reason</code></td><td width="25%"><code>fork</code></td></tr>
  352. <tr><td width="28%"><code>vfork-event-feature</code></td><td width="32%"><code>vfork stop reason</code></td><td width="25%"><code>vfork</code></td></tr>
  353. <tr><td width="28%"><code>exec-event-feature</code></td><td width="32%"><code>exec stop reason</code></td><td width="25%"><code>exec</code></td></tr>
  354. <tr><td width="28%"><code>thread-events</code></td><td width="32%"><code>QThreadEvents</code></td><td width="25%">Tracking thread lifetime.</td></tr>
  355. <tr><td width="28%"><code>no-resumed-stop-reply</code></td><td width="32%"><code>no resumed thread left stop reply</code></td><td width="25%">Tracking thread lifetime.</td></tr>
  356. </table>
  357. <hr>
  358. <div class="header">
  359. <p>
  360. Next: <a href="Remote-Stub.html#Remote-Stub" accesskey="n" rel="next">Remote Stub</a>, Previous: <a href="Server.html#Server" accesskey="p" rel="previous">Server</a>, Up: <a href="Remote-Debugging.html#Remote-Debugging" accesskey="u" rel="up">Remote Debugging</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>
  361. </div>
  362. </body>
  363. </html>