Debugging with GDB: IPA Protocol Commands

Previous: IPA Protocol Objects, Up: In-Process Agent Protocol   [Contents][Index]


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 (see 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’

See qTfSTM.

‘qTsSTM’

See qTsSTM.

‘qTSTMat’

See 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.