Наследование: GDBSubProcess, ITargetConnector, ISymbolTable
Пример #1
0
        internal GDBBreakpoint(GDBConnector connector,
		                        int breakpointNum,
		                        UInt64 address,
		                        string identifier,
		                        Action<int> removeMe)
        {
            _connector = connector;
            _breakpointNum = breakpointNum;
            _address = address;
            _identifier = identifier;
            _removeMe = removeMe;
        }
Пример #2
0
        public GDBSnapshot(GDBConnector connector, IDebuggerStop lastDebuggerStop)
        {
            _connector = connector;

            if(lastDebuggerStop == null)
                throw new ArgumentException("No last stop address found");

            if(lastDebuggerStop.Address == 0 )
                throw new ArgumentException("Last stop does not provide address");

            _myBreakpoint = connector.SetSoftwareBreakpoint(lastDebuggerStop.Address, 0, "_snapshot");

            //Activate reverse debugging
            connector.QueueCommand(new RecordCmd(_connector));
        }
Пример #3
0
 public BreakpointRH(GDBConnector connector, GDBConnector.GdbStopDelegate gdbStopped)
     : base(connector)
 {
     _connector = connector;
     _gdbStopped = gdbStopped;
 }
Пример #4
0
 public GDBLogger(GDBConnector gdbConn, string path)
 {
     _path = path;
     _connector = gdbConn;
 }
Пример #5
0
 public ExitRH(GDBConnector.GdbStopDelegate gdbStopped,GDBSubProcess gdbProc)
     : base(gdbProc)
 {
     _gdbStopped = gdbStopped;
 }
 public GDBCalculatedSymbolTableVariable(GDBConnector connector, string expression, int size)
     : base(connector, expression, size)
 {
 }
 public GDBSymbolTableVariableAddress(GDBConnector connector, IAddressSpecifier address, int size)
 {
     _connector = connector;
     _address = address;
     _size = size;
 }
 public GDBCStyleReferenceSymbolTableVariable(GDBConnector connector, string name, int size)
     : base(connector, name, size)
 {
 }
 public GDBSymbolTableVariable(GDBConnector connector, string name, int size)
 {
     _connector = connector;
     _name = name;
     _size = size;
 }
        public static ISymbolTableVariable InternalDereference(GDBConnector connector, UInt64? address, int size)
        {
            UInt64? newAddress = null;
            byte[] buffer =  new byte[size];

            if(address == null)
                return null;

             	UInt64 readSize = connector.ReadMemory(buffer, address.Value, (UInt64)size);

            if(readSize != (UInt64)size)
                return null;

            newAddress = ByteHelper.ByteArrayToUInt64(buffer, 0, size);
            if (newAddress == null)
                return null;

            return new GDBSymbolTableVariableAddress (connector, new StaticAddress (newAddress), size);
        }
Пример #11
0
 public RecordLogRH(GDBConnector connector, GDBConnector.GdbStopDelegate gdbStopped)
     : base(connector)
 {
     _connector = connector;
     _gdbStopped = gdbStopped;
 }