Mutex::Locker api_locker (target_sp->GetAPIMutex());
Scalar scalar;
if (value_sp->ResolveValue (scalar))
- return scalar.GetRawBits64(fail_value);
+ return scalar.ULongLong(fail_value);
else
error.SetErrorString("could not get value");
}
Mutex::Locker api_locker (target_sp->GetAPIMutex());
Scalar scalar;
if (value_sp->ResolveValue (scalar))
- return scalar.GetRawBits64(fail_value);
+ return scalar.ULongLong(fail_value);
}
}
}
{
default:
case e_void: break;
- case e_sint: return (unsigned int)m_data.sint;
+ case e_sint:
case e_uint: return (unsigned int)m_data.uint;
- case e_slong: return (unsigned int)m_data.slong;
+ case e_slong:
case e_ulong: return (unsigned int)m_data.ulong;
- case e_slonglong: return (unsigned int)m_data.slonglong;
+ case e_slonglong:
case e_ulonglong: return (unsigned int)m_data.ulonglong;
case e_float: return (unsigned int)m_data.flt;
case e_double: return (unsigned int)m_data.dbl;
{
default:
case e_void: break;
- case e_sint: return (unsigned long)m_data.sint;
+ case e_sint:
case e_uint: return (unsigned long)m_data.uint;
- case e_slong: return (unsigned long)m_data.slong;
+ case e_slong:
case e_ulong: return (unsigned long)m_data.ulong;
- case e_slonglong: return (unsigned long)m_data.slonglong;
+ case e_slonglong:
case e_ulonglong: return (unsigned long)m_data.ulonglong;
case e_float: return (unsigned long)m_data.flt;
case e_double: return (unsigned long)m_data.dbl;
{
default:
case e_void: break;
- case e_sint: return (unsigned long long)m_data.sint;
+ case e_sint:
case e_uint: return (unsigned long long)m_data.uint;
- case e_slong: return (unsigned long long)m_data.slong;
+ case e_slong:
case e_ulong: return (unsigned long long)m_data.ulong;
- case e_slonglong: return (unsigned long long)m_data.slonglong;
+ case e_slonglong:
case e_ulonglong: return (unsigned long long)m_data.ulonglong;
case e_float: return (unsigned long long)m_data.flt;
case e_double: return (unsigned long long)m_data.dbl;
{
if (success)
*success = true;
- return scalar.GetRawBits64(fail_value);
+ return scalar.ULongLong(fail_value);
}
// fallthrough, otherwise...
}
Process *process = exe_ctx.GetProcessPtr();
if (process)
{
- addr_t target_addr = m_value.GetScalar().GetRawBits64(LLDB_INVALID_ADDRESS);
+ addr_t target_addr = m_value.GetScalar().ULongLong(LLDB_INVALID_ADDRESS);
size_t bytes_written = process->WriteScalarToMemory (target_addr,
new_scalar,
byte_size,