GDB-Protocol: Cycle step command?

J.T. Conklin
Thu Jun 17 11:18:00 GMT 1999

>>>>> "Andrew" == Andrew Cagney <> writes:
Andrew> Hello, I'd like to propose that the GDB remote protocol be
Andrew> extended to support a cycle step command.  This command would
Andrew> be used when either interacting with physical control devices
Andrew> such as JTAG or (more often) cycle accurate simulators.
Andrew> Possible syntaxes include:
Andrew>     QCycle=<NR>
Andrew> and i<NR>
Andrew> comments suggestions additional data people thing may be
Andrew> needed.  Unlike the ``S'' and ``C'' commands I've not included
Andrew> an address.  Changing the address in a cycle accurate model
Andrew> can get very complex.

This seems incomplete.  

If you have a command to step through processor cycles, don't you also
need cooresponding commands to extract processor state (pipeline, tlb,
cache, btb, etc.).  Without such commands, I fail to see the value in
being able to step in this manner.


J.T. Conklin
RedBack Networks

More information about the Gdb mailing list