mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
parent
4f88b664e2
commit
210fbcc4c2
@ -267,7 +267,8 @@ void Cpu_session_component::kill_thread(Thread_capability thread_cap)
|
||||
Cpu_thread_component *cpu_thread = lookup_cpu_thread(thread_cap);
|
||||
|
||||
if (cpu_thread) {
|
||||
genode_remove_thread(cpu_thread->lwpid());
|
||||
if (cpu_thread->lwpid())
|
||||
genode_remove_thread(cpu_thread->lwpid());
|
||||
_thread_list.remove(cpu_thread);
|
||||
destroy(_md_alloc, cpu_thread);
|
||||
} else
|
||||
|
@ -36,8 +36,8 @@ class Gdb_monitor::Cpu_thread_component : public Rpc_object<Cpu_thread>,
|
||||
|
||||
Cpu_session_component &_cpu_session_component;
|
||||
Cpu_thread_client _parent_cpu_thread;
|
||||
unsigned long _lwpid;
|
||||
addr_t _initial_ip;
|
||||
unsigned long _lwpid { 0 };
|
||||
addr_t _initial_ip { 0 };
|
||||
|
||||
/*
|
||||
* SIGTRAP, SIGSTOP and SIGINT must get delivered to the gdbserver code
|
||||
|
Loading…
Reference in New Issue
Block a user