예제 #1
0
        public Debugger(DebuggerConfiguration config)
        {
            this.config = config;
            this.alive  = true;

            ObjectCache.Initialize();

            kill_event = new ManualResetEvent(false);

            thread_manager = new ThreadManager(this);
            process_hash   = Hashtable.Synchronized(new Hashtable());
            stopped_event  = new ManualResetEvent(false);
            operation_host = new MyOperationHost(this);
        }
예제 #2
0
파일: Debugger.cs 프로젝트: baulig/debugger
        public Debugger(DebuggerConfiguration config)
        {
            this.config = config;
            this.alive = true;

            ObjectCache.Initialize ();

            kill_event = new ManualResetEvent (false);

            thread_manager = new ThreadManager (this);
            process_hash = Hashtable.Synchronized (new Hashtable ());
            stopped_event = new ManualResetEvent (false);
            operation_host = new MyOperationHost (this);
        }
예제 #3
0
        private Process(ThreadManager manager, DebuggerSession session)
        {
            this.manager = manager;
            this.session = session;

            operation_host = new MyOperationHost(this);

            thread_lock_mutex = new DebuggerMutex("thread_lock_mutex");

            stopped_event = new ST.ManualResetEvent(false);

            thread_hash = Hashtable.Synchronized(new Hashtable());

            target_info = Inferior.GetTargetInfo();
            if (target_info.TargetAddressSize == 8)
            {
                architecture = new Architecture_X86_64(this, target_info);
            }
            else
            {
                architecture = new Architecture_I386(this, target_info);
            }
        }
예제 #4
0
파일: Process.cs 프로젝트: baulig/debugger
        private Process(ThreadManager manager, DebuggerSession session)
        {
            this.manager = manager;
            this.session = session;

            operation_host = new MyOperationHost (this);

            thread_lock_mutex = new DebuggerMutex ("thread_lock_mutex");

            stopped_event = new ST.ManualResetEvent (false);

            thread_hash = Hashtable.Synchronized (new Hashtable ());

            target_info = Inferior.GetTargetInfo ();
            if (target_info.TargetAddressSize == 8)
                architecture = new Architecture_X86_64 (this, target_info);
            else
                architecture = new Architecture_I386 (this, target_info);
        }