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