IPA Protocol Commands (Debugging with GDB)
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). Thegdb_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_addressis address of tracepoint in the inferior. Thegdb_jump_pad_headis updated head of jumppad. Both oftarget_addressandgdb_jump_pad_headare 8-byte long. Thefjumpcontains a sequence of instructions jump to jumppad entry. Thefjump_size, 4-byte long, is the size offjump.- ‘
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.