Lines Matching full:new
37 (RNBRemoteShouldCancelCallback): New function.
41 * DNB.cpp (DNBProcessAttachByName): New function.
44 (GetAllInfos): New function.
45 (GetAlInfosMatchingName): New function.
46 (DNBProcessAttachWait): New function.
49 * MachProcess.cpp (MachProcess::PrepareForAttach): New function.
50 (MachProcess::CheckForProcess): New function.
51 (MachProcess::CleanupAfterAttach): New function.
52 (CopyBundleIDForPath): New function.
57 * DNBTimer.h (TimeOfDayLaterThan): New function.
61 (StartListening): New function.
75 (RNBRemote::HandlePacket_q): Add support for the new qShlibInfoAddr packet.
76 * DNB.h (DNBProcessGetSharedLibraryInfoAddress): New prototype.
77 * DNB.cpp (DNBProcessGetSharedLibraryInfoAddress): New function.
78 * MachTask.h (MachProcess::GetDYLDAllImageInfosAddress): New prototype.
79 * MachTask.cpp (MachProcess::GetDYLDAllImageInfosAddress): New function.
91 (RNBRunLoopLaunchInferior): Ditto and also use new DNBProcessLaunch that
119 * DNBError.h (DNBError::SetErrorString): New accessor to allow custom error
129 * test-remotenub.cpp (GetAllProcessInfosMatchingName): New function that
133 processes with PROCNAME so we only catch new process invocations.
142 * test-remotenub.cpp (g_isatty): New global that gets set to non-zero if
144 (RNBLogSTDOUT): New macro that logs to STDOUT if g_isatty is non-zero, else
146 (RNBLogSTDERR): New macro that logs to STDERR if g_isatty is non-zero, else
148 (RNBRunLoopGetArgsFromRemote): Use new RNBLogSTDOUT/RNBLogSTDERR macros.
151 (main): Implemented new --waitfor=NAME option to allow waiting for a process
152 to run by polling the system processes. The new --waitfor-interval=N option
154 seconds (usec) to wait between polls (defaults to 1000). The new
167 (RNBRemote::HandlePacket_D): New member function prototype.
169 (RNBRemote::HandlePacket_D): New function for detach support.
184 * RNBRemot.cpp (RNBRemote::CreatePacketTable): Added new
186 (RNBRemote::HandlePacket_q): Added support for the new
200 * test-remotenub.cpp (RNBRunLoopLaunchInferior): Call new
202 * DNB.h (DNBResolveExecutablePath): New function prototype.
203 * DNB.cpp (DNBResolveExecutablePath): New function that will resolve
211 new member variables: m_sw_single_step_itblock_break_id, m_last_decode_pc,
214 (DBNArchMachARM::DecodeITBlockInstructions): New prototype.
215 (DBNArchMachARM::DecodeInstructionUsingDisassembler): New prototype.
216 (DBNArchMachARM::BreakpointHit): New prototype.
220 (DNBArchMachARM::DecodeITBlockInstructions): New function for software
227 (DNBArchMachARM::DecodeInstructionUsingDisassembler): New function.
228 (DNBArchMachARM::BreakpointHit): New breakpoint callback function.
253 *DNBArchImpl.cpp (bit): New function.
254 (bits): New function.
255 (DNBArchMachARM::ConditionPassed): Use new "bit" function.
256 (DNBArchMachARM::ComputeNextPC): Use new "bit" function, remove inline
259 (DNBArchMachARM::NumSupportedHardwareBreakpoints): Use new "bits" function.
260 (DNBArchMachARM::NumSupportedHardwareWatchpoints): Use new "bits" function.
281 * DNBArchImpl.h (DNBArchMachARM::ConditionPassed): New protected
283 (DNBArchMachARM::ComputeNextPC): New protected member function.
284 (DNBArchMachARM::EvaluateNextInstructionForSoftwareBreakpointSetup): New
286 (DNBArchMachARM::m_thumbStaticData): New protected member variable.
287 (DNBArchMachARM::m_decodedInstruction): New protected member variable.
291 (DNBArchMachARM::ConditionPassed): New function.
292 (DNBArchMachARM::ComputeNextPC): New function.
293 (DNBArchMachARM::EvaluateNextInstructionForSoftwareBreakpointSetup): New
308 (DNBProcessInterruptEvents): New function prototype.
313 (DNBProcessInterruptEvents): New function that can be used to
322 * DNB.cpp (GetProcessMap): Use new PTHREAD_MUTEX_LOCKER macro to ease
329 * DNBLog.cpp (GetLogThreadedMutex): New function.
330 (_DNBLogThreaded): Use new PTHREAD_MUTEX_LOCKER macro to ease
333 * DNBBreakpoint.h (DNBBreakpoint::IntersectsRange): New function.
341 (MachThread::GetState): Use new PTHREAD_MUTEX_LOCKER macro to ease
347 * MacOSX/MachProcess.cpp (MachProcess::GetState): Use new
370 (MachProcess::RemoveTrapsFromBuffer): New function that removes
379 (MachProcess::RemoveTrapsFromBuffer): New function.
408 (MachThreadList::CurrentThread): Use new PTHREAD_MUTEX_LOCKER macro to
412 (DNBTimer::Reset): Use new PTHREAD_MUTEX_LOCKER macro to ease debugging
417 (DNBTimer::GetTimeOfDay): New class function.
423 * PThreadEvent.cpp (PThreadEvent::NewEventBit): Use new
435 * DNBDefs.h (LOG_TASK): New log bit.
450 more) into a new class MachTask.
452 (MachProcess::Clear): Uses new abstracted MachTask class.
462 in the new MachTask class).
476 * DNB.h (DNBProcessSetEvents): New API function prototype.
477 * DNB.cpp (DNBProcessSetEvents): New API function.
481 (eEventPrcoessAsyncInterrupt): New prcoess event bit that allows async
485 * MachProcess.h (MachProcess::TaskBasicInfo): New member and static
487 * MachProcess.cpp (MachProcess::TaskIsValid): Use new TaskBasicInfo()
493 (MachProcess::TaskBasicInfo): New member and static function.
494 (MachProcess::TaskResume): New function that resumes the task by making sure
499 (MachProcess::PrivateResume): Call new TaskResume function, and removed the
512 * DNBDefs.h (LOG_STEP): New logging define.
516 new LOG_STEP instead of LOG_BREAKPOINTS.
545 (MachProcess::ReplyToAllExceptions): New function.
565 (DNBArchMachARM::SetSingleStepSoftwareBreakpoints): New function.
567 (DNBArchMachARM::SetSingleStepSoftwareBreakpoints): New prototype.
568 (DNBArchMachARM::m_sw_single_step_next_pc): New member variable.
569 (DNBArchMachARM::m_sw_single_step_break_id): New member variable.
586 * RNBRemote.cpp (RNBRemote::HandlePacket_q): Use new error class in
590 * DNBArch.h (DNBArchProtocol::StepNotComplete): New protocol function with
592 * DNBArchImpl.cpp (DNBArchMachARM::StepNotComplete): New function.
598 * MachThread.cpp (MachThread::ShouldStop): Fills in new step_more parameter
621 * DNB.cpp (DNBProcessResumeWithSignal): New function.
626 * DNB.h (DNBProcessResumeWithSignal): New prototype.
627 * DNBError.cpp (DNBError::LogThreaded): New function.
628 * DNBError.h (DNBError::LogThreaded): New prototype.
631 * MachException.cpp (MachException::Data::GetStopInfo): Use new SoftSignal()
638 (SoftSignal): New function that returns the soft signal in the exception
654 * test-remotenub.cpp (RNBRunLoopMode): Added a new enum value
658 (RNBRunLoopLaunchInferior): Now launches process with new
660 (RNBRunLoopLaunchAttaching): New function for attaching to existing
671 * DNBDefs.h (NUB_GENERIC_ERROR): New generic error definition.
672 (nub_launch_flavor_t): New enumeration used for control over process
674 * MachProcess.cpp (IsSBProcess): New function.
702 (DNBWatchpointSet): New function.
703 (DNBWatchpointClear): New function.
704 (DNBWatchpointGetHitCount): New function.
705 (DNBWatchpointGetIgnoreCount): New function.
706 (DNBWatchpointSetIgnoreCount): New function.
707 (DNBWatchpointSetCallback): New function.
708 (DNBWatchpointPrint): New function.
712 * RNBContext.cpp (RNBContext::ThreadFunctionProcessStatus): Use new
717 (DNBBreakpoint::ThreadID()): New accessor.
718 (DNBBreakpoint::IsEnabled()): New accessor.
719 (DNBBreakpoint::SetEnabled()): New accessor.
720 (DNBBreakpoint::IsWatchpoint()): New accessor.
721 (DNBBreakpoint::IsBreakpoint()): New accessor.
722 (DNBBreakpoint::SetIsWatchpoint()): New accessor.
723 (DNBBreakpoint::WatchpointRead()): New accessor.
724 (DNBBreakpoint::WatchpointWrite()): New accessor.
725 (DNBBreakpoint::HardwarePreferred()): New accessor.
726 (DNBBreakpoint::IsHardware()): New accessor.
727 (DNBBreakpoint::GetHardwareIndex()): New accessor.
728 (DNBBreakpoint::SetHardwareIndex()): New accessor.
729 (DNBBreakpoint::ThreadID()): New accessor.
741 * FunctionProfiler.h: New header for subclass of DNBRuntimeAction.
742 * RNBRemote.cpp (RNBRemote::HandlePacket_v): Use new process state
753 (PThreadEvent::m_reset_condition): New mutable class member.
757 (DNBArch::NumSupportedHardwareBreakpoints): New virtual member
764 * DNB.h (DNBBreakpointSet): New take a HARDWARE parameter that allows
766 (DNBWatchpointSet): New function prototype.
767 (DNBWatchpointClear): New function prototype.
768 (DNBWatchpointGetHitCount): New function prototype.
769 (DNBWatchpointGetIgnoreCount): New function prototype.
770 (DNBWatchpointSetIgnoreCount): New function prototype.
771 (DNBWatchpointSetCallback): New function prototype.
772 (DNBWatchpointPrint): New function prototype.
775 (DNBArchMachARM::GetCPUType): New function.
776 (DNBArchMachARM::DumpDBGState): New function.
777 (DNBArchMachARM::GetDBGState): New function.
778 (DNBArchMachARM::SetDBGState): New function.
779 (DNBArchMachARM::EnableHardwareSingleStep): New function.
780 (DNBArchMachARM::EnableHardwareBreakpoint): New function.
782 (DNBArchMachARM::DisableHardwareBreakpoint): New function.
783 (DNBArchMachARM::EnableHardwareWatchpoint): New function.
784 (DNBArchMachARM::DisableHardwareWatchpoint): New function.
789 (MachThread::EnableHardwareBreakpoint): New function.
790 (MachThread::EnableHardwareWatchpoint): New function.
791 (MachThread::DisableHardwareBreakpoint): New function.
792 (MachThread::DisableHardwareWatchpoint): New function.
794 (MachThread::EnableHardwareBreakpoint): New prototype.
795 (MachThread::DisableHardwareBreakpoint): New prototype.
796 (MachThread::EnableHardwareWatchpoint): New prototype.
797 (MachThread::DisableHardwareWatchpoint): New prototype.
799 * MacOSX/ppc/DNBArchImpl.cpp (DNBArchMachPPC::GetCPUType) New
803 * MacOSX/MachThread.h (MachThread::EnableHardwareBreakpoint): New
805 (MachThread::EnableHardwareWatchpoint): New prototype.
806 (MachThread::DisableHardwareBreakpoint): New prototype.
807 (MachThread::DisableHardwareWatchpoint): New prototype.
810 * MacOSX/MachProcess.cpp (MachProcess::SetState): Updated to use new
815 (MachProcess::CreateWatchpoint): New function.
816 (MachProcess::DisableAllWatchpoints): New function.
817 (MachProcess::DisableWatchpoint): New function.
818 (MachProcess::DumpWatchpoint): New function.
823 (MachProcess::EnableWatchpoint): New function.
828 (MachProcess::PosixSpawnChildForPTraceDebugging): New function.
829 * MacOSX/i386/DNBArchImpl.cpp (DNBArchMachI386::GetCPUType): New
831 * MacOSX/i386/DNBArchImpl.h (DNBArchMachI386::GetCPUType): New
833 * MacOSX/MachProcess.h (PosixSpawnChildForPTraceDebugging): New
839 (MachThreadList::EnableHardwareBreakpoint): New function.
840 (MachThreadList::DisableHardwareBreakpoint): New function.
841 (MachThreadList::EnableHardwareWatchpoint): New function.
842 (MachThreadList::DisableHardwareWatchpoint): New function.
845 * DNBDefs.h (nub_watch_t): New typedef.
846 (INVALID_NUB_HW_INDEX): New macro definition.
847 (WATCH_TYPE_READ): New macro definition.
848 (WATCH_TYPE_WRITE): New macro definition.
849 (NUB_STATE_IS_RUNNING): New macro to see if state is a running state.
850 (NUB_STATE_IS_STOPPED): New macro to see if state is a stopped state.
852 (eEventProcessRunningStateChanged): New process event state.
853 (eEventProcessStoppedStateChanged): New process event state.
854 (LOG_WATCHPOINTS): New macro definition for logging watchpoints.
855 * test-remotenub.cpp (RNBRunLoopLaunchInferior): Use new process
857 * FunctionProfiler.cpp: New class that allows single stepping through
880 (DNBThreadResumeWithSignal): New function.
881 * DNB.h (DNBThreadResumeWithSignal): New prototype.
885 with the new SIGNAL parameter instead of always zero so signals can be
889 * MachProcess.cpp (MachProcess::Resume): Pass new SIGNAL parameter to
891 * MachProcess.cpp (MachProcess::PrivateResume): Pass new SIGNAL
897 (GetProcessMap): New Function.
898 (AddProcessToMap): New function.
899 (RemoveProcessFromMap): New function.
900 (GetProcessSP): Use new GetProcessMap function to get process list.
929 * RNBServices.h (IsSBProcess): New prototype;
930 * RNBServices.cpp (IsSBProcess): New function that returns true it
933 * DNB.cpp (DNBProcessSBAttach): New function for use when attaching to
937 * DNB.h (DNBProcessSBAttach): New prototype.
945 * test-remotenub.cpp (RNBRunLoopGetArgsFromRemote): Handle the new
949 if we failed. Also handle the new prototype for ListApplications.
957 * RNBRemote.h (PacketEnum): Added a new 'vattach' enum for the "vAttach;PID"
959 (RNBRemote::HandlePacket_v): New prototype;
962 (RNBRemote::HandlePacket_v): New function that handles attach to a process.
971 * RNBContext.cpp (RNBContext::LaunchStatusAsString): New function.
1011 * RBNContext.cpp (RNBContext::EnvironmentAtIndex): New function.
1021 * DNBBreakpoint.cpp (DNBBreakpointList::GetBreakpointAtIndex): New
1023 * DNBBreakpoint.h (DNBBreakpointList::GetBreakpointAtIndex): New
1027 * MachProcess.cpp (MachProcess::DisableAllBreakpoints): New function.
1030 * MachProcess.h (MachProcess::DisableAllBreakpoints): New prototype.
1034 * RNBRemote.h (RNBRemote::SendHexEncodedBytePacket): New prototype.
1035 * RNBRemote.cpp (RNBRemote::SendHexEncodedBytePacket): New function.
1042 (DNBThreadGetInfo): New function.
1044 (DNBThreadGetInfo): New prototype.
1045 * MachProcess.cpp (MachProcess::GetThreadInfo): New function.
1046 * MachProcess.h (MachProcess::GetThreadInfo): New prototype.
1047 * MachThreadList.cpp (MachThreadList::GetThreadInfo): New function.
1048 * MachThreadList.h (MachThreadList::GetThreadInfo): New prototype.
1049 * MachThread.cpp (MachThread::GetBasicInfoAsString): New function.
1050 (MachThread::InferiorThreadID): New function.
1051 * MachThread.cpp (MachThread::GetBasicInfoAsString): New prototype.
1052 (MachThread::InferiorThreadID): New prototype.
1090 a new debugserver and gdb submitted.
1111 * test-remotenub.cpp (HandleProcessStateChange): Call new
1114 * RNBRemote.h (RNBRemote::FlushSTDIO): New prototype.
1115 * RNBRemote.cpp (RNBRemote::FlushSTDIO): New function to
1126 * DNBTimer.h (DNBTimer::OffsetTimeOfDay): New function.
1127 * CFString.cpp (CFString::GetLength() const): New function.
1128 * CFString.h (CFString::GetLength() const): New prototype.
1135 (MachProcess::SBForkChildForPTraceDebugging): Changed to new
1144 to new PThreadEvent API changes.
1145 (RNBContext::ThreadFunctionProcessStatus): Adapt to new
1148 to new PThreadEvent API changes.
1149 * test-remotenub.cpp (RNBRunLoopLaunchInferior): Adapt to new
1172 * DNBDefs.h (DNBCallbackLog): New callback prototype for all
1176 (DNBLogGetDebug): New accessor function for g_debug.
1177 (DNBLogSetDebug): New accessor function for g_debug.
1179 (DNBLogGetVerbose): New accessor function for g_verbose.
1180 (DNBLogSetVerbose): New accessor function for g_verbose.
1181 (DNBLogSetLogCallback): New function call that registers a logging
1194 * DNBLog.h (DNBLOG_FLAG_FATAL): New defines that get passed to
1227 * RNBRemote.cpp (set_logging): Use new function callback registration
1229 test-remotenub.cpp (ASLLogCallback): New function to handle all ASL
1232 (FileLogCallback): New function to handle all file logging. This
1242 * RNBRemote.h (struct Breakpoint): New structure for ref counting
1244 * RNBRemote.cpp (RNBRemote::SendPacket): Use new LOG_RNB_PACKETS
1249 of breakpoints with the Z and z packets using new struct
1251 * RNBDefs.h (LOG_RNB_PACKETS): New define for logging the sending
1256 * DNBDefs.h (LOG_EVENTS): New define for logging PThreadEvent.
1323 * DNBLog.cpp (DNBLogCloseLogFile): New function to close a logfile
1332 * DNBLog.cpp (DNBLogGetLogMask): New fun.c
1359 * RNBRemote.cpp (set_logging): New function to parse the QSetLogging
1426 (RNBRemote::HandlePacket_Q): New function to handle
1494 (RNBSocket::SetSocketOption()): New function.
1495 * RNBSocket.h (RNBSocket::SetSocketOption()): New class function.
1506 * RNBContext.cpp (SetProcessID): New function.