Questions on vCont

Vardhana, Ananda ananda.vardhana@intel.com
Mon Jun 9 17:40:00 GMT 2014


'vCont[;action[:thread-id]]...'

      Resume the inferior, specifying different actions for each thread. If an action is specified with no thread-id, then it is applied to any thread s that don't have a specific action specified;
 if no default action is specified then other threads should remain stopped in all-stop mode and in their current state in non-stop mode. Specifying multiple default actions is an error; specifying no actions is also an error. Thread IDs are specified using the syntax described in thread-id
syntax<https://sourceware.org/gdb/onlinedocs/gdb/Packets.html>.

Could some kind folk clear up some of my doubts:

1.      "Resume the inferior, specifying different actions for each thread" --> what does this first sentence mean? What does word inferior mean in this context?
2.      "Specifying multiple default actions is an error" -->   Please give me couple of examples.
3.      "specifying no actions is also an error". An example for this too please.
4.      Lastly please tell me what all commands I have specified here is wrong
a.      vCont;c:ab;c:cd --> ab, cd are thread id's
b.      vCont;c:12;s:23;t:45
c.      vCont;c:3;s:3 --> This is wrong for sure
d.      vCont;c-1 --> Putting anything after this wrong as we have continue on all processors


'C sig'

      Continue with signal sig. The signal sig should be two hex digits.
5.      What is the meaning of a signal in this context?
6.      Why is the name 'sig' not appearing in the usage shown above. Or why is it they talk only about thread-id only?
7.      Please give me an example of the usage syntax with signals?
8.      I hope the C sig & S sig are still a supported

'r start,end'

9.      Please give me a usage format for it. Would it be like r 0x12345678, 1234570C

If there is a web site where these kind of questions have been answered please point me to it.

Thanks in advance

Regards
Ananda



More information about the Gdb mailing list