gdb: IPA Protocol Commands
30.1.2 IPA Protocol Commands
----------------------------
The spaces in each command are delimiters to ease reading this commands
specification. They don't exist in real commands.
'FastTrace:TRACEPOINT_OBJECT GDB_JUMP_PAD_HEAD'
Installs a new fast tracepoint described by TRACEPOINT_OBJECT
(tracepoint object). The GDB_JUMP_PAD_HEAD, 8-byte long,
is the head of "jumppad", which is used to jump to data collection
routine in IPA finally.
Replies:
'OK TARGET_ADDRESS GDB_JUMP_PAD_HEAD FJUMP_SIZE FJUMP'
TARGET_ADDRESS is address of tracepoint in the inferior. The
GDB_JUMP_PAD_HEAD is updated head of jumppad. Both of
TARGET_ADDRESS and GDB_JUMP_PAD_HEAD are 8-byte long. The
FJUMP contains a sequence of instructions jump to jumppad
entry. The FJUMP_SIZE, 4-byte long, is the size of FJUMP.
'E NN'
for an error
'close'
Closes the in-process agent. This command is sent when GDB or
GDBserver is about to kill inferiors.
'qTfSTM'
qTfSTM.
'qTsSTM'
qTsSTM.
'qTSTMat'
qTSTMat.
'probe_marker_at:ADDRESS'
Asks in-process agent to probe the marker at ADDRESS.
Replies:
'E NN'
for an error
'unprobe_marker_at:ADDRESS'
Asks in-process agent to unprobe the marker at ADDRESS.