public ulong GetLoadAddress(RemoteTarget target) { GetLoadAddressResponse response = null; if (connection.InvokeRpc(() => { response = client.GetLoadAddress( new GetLoadAddressRequest { Section = grpcSbSection, Target = new GrpcSbTarget { Id = target.GetId() } }); })) { return(response.LoadAddress); } return(DebuggerConstants.INVALID_ADDRESS); }
public ulong GetLoadAddress(RemoteTarget target) { GetLoadAddressResponse response = null; if (connection.InvokeRpc(() => { response = client.GetLoadAddress( new GetLoadAddressRequest { Address = grpcSbAddress, Target = new GrpcSbTarget { Id = target.GetId() } }); })) { return(response.LoadAddress); } return(0); }