> rr is a lightweight tool for recording and replaying execution of applications (trees of processes and threads). More information about the project, including instructions on how to install, run, and build rr, is at http://rr-project.org.
class MyRunOrContinue (gdb.Command):
"""Run inferior if not already running, otherwise continue (useful for rr)."""
def __init__ (self):
super (MyRunOrContinue, self).__init__ ("just-go", gdb.COMMAND_USER)
def invoke (self, arg, from_tty):
if gdb.selected_inferior().pid != 0: