| <html lang="en"> |
| <head> |
| <title>IPA Protocol Commands - Debugging with GDB</title> |
| <meta http-equiv="Content-Type" content="text/html"> |
| <meta name="description" content="Debugging with GDB"> |
| <meta name="generator" content="makeinfo 4.13"> |
| <link title="Top" rel="start" href="index.html#Top"> |
| <link rel="up" href="In_002dProcess-Agent-Protocol.html#In_002dProcess-Agent-Protocol" title="In-Process Agent Protocol"> |
| <link rel="prev" href="IPA-Protocol-Objects.html#IPA-Protocol-Objects" title="IPA Protocol Objects"> |
| <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> |
| <!-- |
| Copyright (C) 1988-2019 Free Software Foundation, Inc. |
| |
| Permission is granted to copy, distribute and/or modify this document |
| under the terms of the GNU Free Documentation License, Version 1.3 or |
| any later version published by the Free Software Foundation; with the |
| Invariant Sections being ``Free Software'' and ``Free Software Needs |
| Free Documentation'', with the Front-Cover Texts being ``A GNU Manual,'' |
| and with the Back-Cover Texts as in (a) below. |
| |
| (a) The FSF's Back-Cover Text is: ``You are free to copy and modify |
| this GNU Manual. Buying copies from GNU Press supports the FSF in |
| developing GNU and promoting software freedom.'' |
| --> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <style type="text/css"><!-- |
| pre.display { font-family:inherit } |
| pre.format { font-family:inherit } |
| pre.smalldisplay { font-family:inherit; font-size:smaller } |
| pre.smallformat { font-family:inherit; font-size:smaller } |
| pre.smallexample { font-size:smaller } |
| pre.smalllisp { font-size:smaller } |
| span.sc { font-variant:small-caps } |
| span.roman { font-family:serif; font-weight:normal; } |
| span.sansserif { font-family:sans-serif; font-weight:normal; } |
| --></style> |
| </head> |
| <body> |
| <div class="node"> |
| <a name="IPA-Protocol-Commands"></a> |
| <p> |
| Previous: <a rel="previous" accesskey="p" href="IPA-Protocol-Objects.html#IPA-Protocol-Objects">IPA Protocol Objects</a>, |
| Up: <a rel="up" accesskey="u" href="In_002dProcess-Agent-Protocol.html#In_002dProcess-Agent-Protocol">In-Process Agent Protocol</a> |
| <hr> |
| </div> |
| |
| <h4 class="subsection">30.1.2 IPA Protocol Commands</h4> |
| |
| <p><a name="index-ipa-protocol-commands-3167"></a> |
| The spaces in each command are delimiters to ease reading this commands |
| specification. They don't exist in real commands. |
| |
| <dl> |
| <dt>‘<samp><span class="samp">FastTrace:</span><var>tracepoint_object</var> <var>gdb_jump_pad_head</var></samp>’<dd>Installs a new fast tracepoint described by <var>tracepoint_object</var> |
| (see <a href="tracepoint-object.html#tracepoint-object">tracepoint object</a>). The <var>gdb_jump_pad_head</var>, 8-byte long, is the |
| head of <dfn>jumppad</dfn>, which is used to jump to data collection routine |
| in IPA finally. |
| |
| <p>Replies: |
| <dl> |
| <dt>‘<samp><span class="samp">OK </span><var>target_address</var> <var>gdb_jump_pad_head</var> <var>fjump_size</var> <var>fjump</var></samp>’<dd><var>target_address</var> is address of tracepoint in the inferior. |
| The <var>gdb_jump_pad_head</var> is updated head of jumppad. Both of |
| <var>target_address</var> and <var>gdb_jump_pad_head</var> are 8-byte long. |
| The <var>fjump</var> contains a sequence of instructions jump to jumppad entry. |
| The <var>fjump_size</var>, 4-byte long, is the size of <var>fjump</var>. |
| <br><dt>‘<samp><span class="samp">E </span><var>NN</var></samp>’<dd>for an error |
| |
| </dl> |
| |
| <br><dt>‘<samp><span class="samp">close</span></samp>’<dd>Closes the in-process agent. This command is sent when <span class="sc">gdb</span> or GDBserver |
| is about to kill inferiors. |
| |
| <br><dt>‘<samp><span class="samp">qTfSTM</span></samp>’<dd>See <a href="qTfSTM.html#qTfSTM">qTfSTM</a>. |
| <br><dt>‘<samp><span class="samp">qTsSTM</span></samp>’<dd>See <a href="qTsSTM.html#qTsSTM">qTsSTM</a>. |
| <br><dt>‘<samp><span class="samp">qTSTMat</span></samp>’<dd>See <a href="qTSTMat.html#qTSTMat">qTSTMat</a>. |
| <br><dt>‘<samp><span class="samp">probe_marker_at:</span><var>address</var></samp>’<dd>Asks in-process agent to probe the marker at <var>address</var>. |
| |
| <p>Replies: |
| <dl> |
| <dt>‘<samp><span class="samp">E </span><var>NN</var></samp>’<dd>for an error |
| </dl> |
| <br><dt>‘<samp><span class="samp">unprobe_marker_at:</span><var>address</var></samp>’<dd>Asks in-process agent to unprobe the marker at <var>address</var>. |
| </dl> |
| |
| </body></html> |
| |