Hi Christian,
Christian Prochaska christian.prochaska@genode-labs.com writes:
Hi Tomasz,
On 06.05.21 12:42, Tomasz Gajewski wrote:
Currently I stumbled on problem with threads too. I know that creating thread using 'pthread_create' in debugged code does not raise any error but after this call number of thread visible in gdb (using 'info thread') does not change and breakpoint set inside a function assigned for thread is never triggered.
Does anybody know if it is a sign of not creating thread at all or some deficiency in 'gdb_monitor' that fails to update presented list of threads? From the behavior it seems it is a first option.
Another question is if it is supposed to work and it doesn't only because of some error or gdb_monitor lacks this functionality completely?
can you somehow reproduce the problem with the gdb monitor test which is used by gdb_monitor.run? This test also creates a pthread and the breakpoint in 'test_thread_start()' appears to work as well as the appearance in the thread info list.
I'll experiment in the evening, compare bahavior and let know results. Your answer is encouraging. Thanks.